use strict;
use warnings;
TEST('vaddpd zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0x58,0xf4                         ], 'MODE64');
TEST('vaddpd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x01,0x95,0x10,0x58,0xf4                         ], 'MODE64');
TEST('vaddpd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x01,0x95,0x50,0x58,0xf4                         ], 'MODE64');
TEST('vaddpd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x01,0x95,0x30,0x58,0xf4                         ], 'MODE64');
TEST('vaddpd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x01,0x95,0x70,0x58,0xf4                         ], 'MODE64');
TEST('vaddpd zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0x58,0x31                         ], 'MODE64');
TEST('vaddpd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0x58,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vaddpd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0x58,0x31                         ], 'MODE64');
TEST('vaddpd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0x58,0x72,0x7f                    ], 'MODE64');
TEST('vaddpd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0x58,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vaddpd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0x58,0x72,0x80                    ], 'MODE64');
TEST('vaddpd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0x58,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vaddpd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0x58,0x72,0x7f                    ], 'MODE64');
TEST('vaddpd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0x58,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vaddpd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0x58,0x72,0x80                    ], 'MODE64');
TEST('vaddpd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0x58,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vaddps zmm30, zmm29, zmm28                   ', [0x62,0x01,0x14,0x40,0x58,0xf4                         ], 'MODE64');
TEST('vaddps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x01,0x14,0x10,0x58,0xf4                         ], 'MODE64');
TEST('vaddps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x01,0x14,0x50,0x58,0xf4                         ], 'MODE64');
TEST('vaddps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x01,0x14,0x30,0x58,0xf4                         ], 'MODE64');
TEST('vaddps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x01,0x14,0x70,0x58,0xf4                         ], 'MODE64');
TEST('vaddps zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x14,0x40,0x58,0x31                         ], 'MODE64');
TEST('vaddps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x14,0x40,0x58,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vaddps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x14,0x50,0x58,0x31                         ], 'MODE64');
TEST('vaddps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x14,0x40,0x58,0x72,0x7f                    ], 'MODE64');
TEST('vaddps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x14,0x40,0x58,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vaddps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x14,0x40,0x58,0x72,0x80                    ], 'MODE64');
TEST('vaddps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x14,0x40,0x58,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vaddps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x14,0x50,0x58,0x72,0x7f                    ], 'MODE64');
TEST('vaddps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x14,0x50,0x58,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vaddps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x14,0x50,0x58,0x72,0x80                    ], 'MODE64');
TEST('vaddps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x14,0x50,0x58,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('valignd zmm30, zmm29, zmm28, 171                  ', [0x62,0x03,0x15,0x40,0x03,0xf4,0xab                         ], 'MODE64');
TEST('valignd zmm30, zmm29, zmm28, 123                  ', [0x62,0x03,0x15,0x40,0x03,0xf4,0x7b                         ], 'MODE64');
TEST('valignd zmm30, zmm29, zword [rcx], 123            ', [0x62,0x63,0x15,0x40,0x03,0x31,0x7b                         ], 'MODE64');
TEST('valignd zmm30, zmm29, zword [rax+r14*8+0x123], 123', [0x62,0x23,0x15,0x40,0x03,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('valignd zmm30, zmm29, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0x15,0x40,0x03,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('valignd zmm30, zmm29, zword [rdx+0x2000], 123     ', [0x62,0x63,0x15,0x40,0x03,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('valignd zmm30, zmm29, zword [rdx-0x2000], 123     ', [0x62,0x63,0x15,0x40,0x03,0x72,0x80,0x7b                    ], 'MODE64');
TEST('valignd zmm30, zmm29, zword [rdx-0x2040], 123     ', [0x62,0x63,0x15,0x40,0x03,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('valignq zmm30, zmm29, zmm28, 171                  ', [0x62,0x03,0x95,0x40,0x03,0xf4,0xab                         ], 'MODE64');
TEST('valignq zmm30, zmm29, zmm28, 123                  ', [0x62,0x03,0x95,0x40,0x03,0xf4,0x7b                         ], 'MODE64');
TEST('valignq zmm30, zmm29, zword [rcx], 123            ', [0x62,0x63,0x95,0x40,0x03,0x31,0x7b                         ], 'MODE64');
TEST('valignq zmm30, zmm29, zword [rax+r14*8+0x123], 123', [0x62,0x23,0x95,0x40,0x03,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('valignq zmm30, zmm29, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0x95,0x40,0x03,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('valignq zmm30, zmm29, zword [rdx+0x2000], 123     ', [0x62,0x63,0x95,0x40,0x03,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('valignq zmm30, zmm29, zword [rdx-0x2000], 123     ', [0x62,0x63,0x95,0x40,0x03,0x72,0x80,0x7b                    ], 'MODE64');
TEST('valignq zmm30, zmm29, zword [rdx-0x2040], 123     ', [0x62,0x63,0x95,0x40,0x03,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vblendmpd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x65,0xf4                         ], 'MODE64');
TEST('vblendmpd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x65,0x31                         ], 'MODE64');
TEST('vblendmpd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x65,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vblendmpd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x65,0x31                         ], 'MODE64');
TEST('vblendmpd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x65,0x72,0x7f                    ], 'MODE64');
TEST('vblendmpd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x65,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vblendmpd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x65,0x72,0x80                    ], 'MODE64');
TEST('vblendmpd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x65,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vblendmpd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x65,0x72,0x7f                    ], 'MODE64');
TEST('vblendmpd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x65,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vblendmpd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x65,0x72,0x80                    ], 'MODE64');
TEST('vblendmpd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x65,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vblendmps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x65,0xf4                         ], 'MODE64');
TEST('vblendmps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x65,0x31                         ], 'MODE64');
TEST('vblendmps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x65,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vblendmps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x65,0x31                         ], 'MODE64');
TEST('vblendmps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x65,0x72,0x7f                    ], 'MODE64');
TEST('vblendmps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x65,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vblendmps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x65,0x72,0x80                    ], 'MODE64');
TEST('vblendmps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x65,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vblendmps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x65,0x72,0x7f                    ], 'MODE64');
TEST('vblendmps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x65,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vblendmps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x65,0x72,0x80                    ], 'MODE64');
TEST('vblendmps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x65,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vbroadcastf32x4 zmm30, oword [rcx]            ', [0x62,0x62,0x7d,0x48,0x1a,0x31                         ], 'MODE64');
TEST('vbroadcastf32x4 zmm30, oword [rax+r14*8+0x123]', [0x62,0x22,0x7d,0x48,0x1a,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vbroadcastf32x4 zmm30, oword [rdx+0x7f0]      ', [0x62,0x62,0x7d,0x48,0x1a,0x72,0x7f                    ], 'MODE64');
TEST('vbroadcastf32x4 zmm30, oword [rdx+0x800]      ', [0x62,0x62,0x7d,0x48,0x1a,0xb2,0x00,0x08,0x00,0x00     ], 'MODE64');
TEST('vbroadcastf32x4 zmm30, oword [rdx-0x800]      ', [0x62,0x62,0x7d,0x48,0x1a,0x72,0x80                    ], 'MODE64');
TEST('vbroadcastf32x4 zmm30, oword [rdx-0x810]      ', [0x62,0x62,0x7d,0x48,0x1a,0xb2,0xf0,0xf7,0xff,0xff     ], 'MODE64');

TEST('vbroadcastf64x4 zmm30, yword [rcx]            ', [0x62,0x62,0xfd,0x48,0x1b,0x31                         ], 'MODE64');
TEST('vbroadcastf64x4 zmm30, yword [rax+r14*8+0x123]', [0x62,0x22,0xfd,0x48,0x1b,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vbroadcastf64x4 zmm30, yword [rdx+0xfe0]      ', [0x62,0x62,0xfd,0x48,0x1b,0x72,0x7f                    ], 'MODE64');
TEST('vbroadcastf64x4 zmm30, yword [rdx+0x1000]     ', [0x62,0x62,0xfd,0x48,0x1b,0xb2,0x00,0x10,0x00,0x00     ], 'MODE64');
TEST('vbroadcastf64x4 zmm30, yword [rdx-0x1000]     ', [0x62,0x62,0xfd,0x48,0x1b,0x72,0x80                    ], 'MODE64');
TEST('vbroadcastf64x4 zmm30, yword [rdx-0x1020]     ', [0x62,0x62,0xfd,0x48,0x1b,0xb2,0xe0,0xef,0xff,0xff     ], 'MODE64');

TEST('vbroadcasti32x4 zmm30, oword [rcx]            ', [0x62,0x62,0x7d,0x48,0x5a,0x31                         ], 'MODE64');
TEST('vbroadcasti32x4 zmm30, oword [rax+r14*8+0x123]', [0x62,0x22,0x7d,0x48,0x5a,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vbroadcasti32x4 zmm30, oword [rdx+0x7f0]      ', [0x62,0x62,0x7d,0x48,0x5a,0x72,0x7f                    ], 'MODE64');
TEST('vbroadcasti32x4 zmm30, oword [rdx+0x800]      ', [0x62,0x62,0x7d,0x48,0x5a,0xb2,0x00,0x08,0x00,0x00     ], 'MODE64');
TEST('vbroadcasti32x4 zmm30, oword [rdx-0x800]      ', [0x62,0x62,0x7d,0x48,0x5a,0x72,0x80                    ], 'MODE64');
TEST('vbroadcasti32x4 zmm30, oword [rdx-0x810]      ', [0x62,0x62,0x7d,0x48,0x5a,0xb2,0xf0,0xf7,0xff,0xff     ], 'MODE64');

TEST('vbroadcasti64x4 zmm30, yword [rcx]            ', [0x62,0x62,0xfd,0x48,0x5b,0x31                         ], 'MODE64');
TEST('vbroadcasti64x4 zmm30, yword [rax+r14*8+0x123]', [0x62,0x22,0xfd,0x48,0x5b,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vbroadcasti64x4 zmm30, yword [rdx+0xfe0]      ', [0x62,0x62,0xfd,0x48,0x5b,0x72,0x7f                    ], 'MODE64');
TEST('vbroadcasti64x4 zmm30, yword [rdx+0x1000]     ', [0x62,0x62,0xfd,0x48,0x5b,0xb2,0x00,0x10,0x00,0x00     ], 'MODE64');
TEST('vbroadcasti64x4 zmm30, yword [rdx-0x1000]     ', [0x62,0x62,0xfd,0x48,0x5b,0x72,0x80                    ], 'MODE64');
TEST('vbroadcasti64x4 zmm30, yword [rdx-0x1020]     ', [0x62,0x62,0xfd,0x48,0x5b,0xb2,0xe0,0xef,0xff,0xff     ], 'MODE64');

TEST('vbroadcastsd zmm30, qword [rcx]            ', [0x62,0x62,0xfd,0x48,0x19,0x31                         ], 'MODE64');
TEST('vbroadcastsd zmm30, qword [rax+r14*8+0x123]', [0x62,0x22,0xfd,0x48,0x19,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vbroadcastsd zmm30, qword [rdx+0x3f8]      ', [0x62,0x62,0xfd,0x48,0x19,0x72,0x7f                    ], 'MODE64');
TEST('vbroadcastsd zmm30, qword [rdx+0x400]      ', [0x62,0x62,0xfd,0x48,0x19,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vbroadcastsd zmm30, qword [rdx-0x400]      ', [0x62,0x62,0xfd,0x48,0x19,0x72,0x80                    ], 'MODE64');
TEST('vbroadcastsd zmm30, qword [rdx-0x408]      ', [0x62,0x62,0xfd,0x48,0x19,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vbroadcastss zmm30, dword [rcx]            ', [0x62,0x62,0x7d,0x48,0x18,0x31                         ], 'MODE64');
TEST('vbroadcastss zmm30, dword [rax+r14*8+0x123]', [0x62,0x22,0x7d,0x48,0x18,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vbroadcastss zmm30, dword [rdx+0x1fc]      ', [0x62,0x62,0x7d,0x48,0x18,0x72,0x7f                    ], 'MODE64');
TEST('vbroadcastss zmm30, dword [rdx+0x200]      ', [0x62,0x62,0x7d,0x48,0x18,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vbroadcastss zmm30, dword [rdx-0x200]      ', [0x62,0x62,0x7d,0x48,0x18,0x72,0x80                    ], 'MODE64');
TEST('vbroadcastss zmm30, dword [rdx-0x204]      ', [0x62,0x62,0x7d,0x48,0x18,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vcmppd k5, zmm30, zmm29, 171                       ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0xab                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, 123                       ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x7b                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], 123                 ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x7b                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], 123     ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], 123          ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x7b                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], 123          ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], 123          ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x7b                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], 123          ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, eq_oq                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x00                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, eq_oq              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x00                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], eq_oq               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x00                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], eq_oq   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x00], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, eq_oq         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x00                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], eq_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x00                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], eq_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x00     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], eq_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x00                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], eq_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x00     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, eq_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x00                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, eq_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x00     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, eq_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x00                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, eq_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x00     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, lt_os                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x01                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, lt_os              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x01                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], lt_os               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x01                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], lt_os   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x01], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, lt_os         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x01                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], lt_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x01                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], lt_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x01     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], lt_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x01                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], lt_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x01     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, lt_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x01                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, lt_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x01     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, lt_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x01                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, lt_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x01     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, le_os                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x02                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, le_os              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x02                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], le_os               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x02                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], le_os   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x02], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, le_os         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x02                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], le_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x02                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], le_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x02     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], le_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x02                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], le_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x02     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, le_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x02                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, le_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x02     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, le_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x02                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, le_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x02     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, unord_q                   ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x03                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, unord_q            ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x03                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], unord_q             ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x03                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], unord_q ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x03], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, unord_q       ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x03                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], unord_q      ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x03                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], unord_q      ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x03     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], unord_q      ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x03                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], unord_q      ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x03     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, unord_q ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x03                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, unord_q ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x03     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, unord_q ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x03                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, unord_q ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x03     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, neq_uq                    ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x04                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, neq_uq             ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x04                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], neq_uq              ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x04                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], neq_uq  ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x04], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, neq_uq        ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x04                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], neq_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x04                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], neq_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x04     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], neq_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x04                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], neq_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x04     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, neq_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x04                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, neq_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x04     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, neq_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x04                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, neq_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x04     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, nlt_us                    ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x05                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, nlt_us             ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x05                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], nlt_us              ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x05                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], nlt_us  ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x05], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, nlt_us        ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x05                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], nlt_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x05                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], nlt_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x05     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], nlt_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x05                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], nlt_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x05     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, nlt_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x05                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, nlt_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x05     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, nlt_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x05                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, nlt_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x05     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, nle_us                    ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x06                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, nle_us             ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x06                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], nle_us              ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x06                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], nle_us  ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x06], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, nle_us        ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x06                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], nle_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x06                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], nle_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x06     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], nle_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x06                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], nle_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x06     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, nle_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x06                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, nle_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x06     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, nle_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x06                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, nle_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x06     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, ord_q                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x07                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, ord_q              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x07                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], ord_q               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x07                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], ord_q   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x07], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, ord_q         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x07                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], ord_q        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x07                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], ord_q        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x07     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], ord_q        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x07                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], ord_q        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x07     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, ord_q   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x07                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, ord_q   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x07     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, ord_q   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x07                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, ord_q   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x07     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, eq_uq                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x08                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, eq_uq              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x08                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], eq_uq               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x08                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], eq_uq   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x08], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, eq_uq         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x08                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], eq_uq        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x08                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], eq_uq        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x08     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], eq_uq        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x08                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], eq_uq        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x08     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, eq_uq   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x08                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, eq_uq   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x08     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, eq_uq   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x08                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, eq_uq   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x08     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, nge_us                    ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x09                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, nge_us             ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x09                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], nge_us              ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x09                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], nge_us  ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x09], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, nge_us        ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x09                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], nge_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x09                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], nge_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x09     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], nge_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x09                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], nge_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x09     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, nge_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x09                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, nge_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x09     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, nge_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x09                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, nge_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x09     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, ngt_us                    ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x0a                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, ngt_us             ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x0a                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], ngt_us              ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x0a                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], ngt_us  ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x0a], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, ngt_us        ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x0a                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], ngt_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x0a                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], ngt_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x0a     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], ngt_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x0a                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], ngt_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x0a     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, ngt_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x0a                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, ngt_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x0a     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, ngt_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x0a                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, ngt_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x0a     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, false_oq                  ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x0b                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, false_oq           ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x0b                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], false_oq            ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x0b                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], false_oq', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x0b], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, false_oq      ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x0b                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], false_oq     ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x0b                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], false_oq     ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x0b     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], false_oq     ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x0b                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], false_oq     ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x0b     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, false_oq', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x0b                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, false_oq', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x0b     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, false_oq', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x0b                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, false_oq', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x0b     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, neq_oq                    ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x0c                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, neq_oq             ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x0c                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], neq_oq              ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x0c                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], neq_oq  ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x0c], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, neq_oq        ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x0c                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], neq_oq       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x0c                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], neq_oq       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x0c     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], neq_oq       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x0c                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], neq_oq       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x0c     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, neq_oq  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x0c                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, neq_oq  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x0c     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, neq_oq  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x0c                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, neq_oq  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x0c     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, ge_os                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x0d                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, ge_os              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x0d                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], ge_os               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x0d                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], ge_os   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x0d], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, ge_os         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x0d                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], ge_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x0d                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], ge_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x0d     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], ge_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x0d                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], ge_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x0d     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, ge_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x0d                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, ge_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x0d     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, ge_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x0d                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, ge_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x0d     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, gt_os                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x0e                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, gt_os              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x0e                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], gt_os               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x0e                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], gt_os   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x0e], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, gt_os         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x0e                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], gt_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x0e                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], gt_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x0e     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], gt_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x0e                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], gt_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x0e     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, gt_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x0e                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, gt_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x0e     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, gt_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x0e                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, gt_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x0e     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, true_uq                   ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x0f                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, true_uq            ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x0f                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], true_uq             ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x0f                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], true_uq ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x0f], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, true_uq       ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x0f                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], true_uq      ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x0f                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], true_uq      ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x0f     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], true_uq      ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x0f                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], true_uq      ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x0f     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, true_uq ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x0f                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, true_uq ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x0f     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, true_uq ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x0f                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, true_uq ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x0f     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, eq_os                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x10                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, eq_os              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x10                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], eq_os               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x10                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], eq_os   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x10], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, eq_os         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x10                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], eq_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x10                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], eq_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x10     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], eq_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x10                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], eq_os        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x10     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, eq_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x10                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, eq_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x10     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, eq_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x10                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, eq_os   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x10     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, lt_oq                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x11                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, lt_oq              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x11                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], lt_oq               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x11                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], lt_oq   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x11], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, lt_oq         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x11                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], lt_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x11                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], lt_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x11     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], lt_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x11                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], lt_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x11     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, lt_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x11                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, lt_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x11     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, lt_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x11                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, lt_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x11     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, le_oq                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x12                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, le_oq              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x12                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], le_oq               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x12                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], le_oq   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x12], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, le_oq         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x12                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], le_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x12                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], le_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x12     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], le_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x12                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], le_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x12     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, le_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x12                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, le_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x12     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, le_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x12                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, le_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x12     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, unord_s                   ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x13                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, unord_s            ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x13                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], unord_s             ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x13                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], unord_s ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x13], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, unord_s       ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x13                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], unord_s      ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x13                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], unord_s      ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x13     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], unord_s      ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x13                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], unord_s      ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x13     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, unord_s ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x13                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, unord_s ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x13     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, unord_s ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x13                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, unord_s ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x13     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, neq_us                    ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x14                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, neq_us             ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x14                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], neq_us              ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x14                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], neq_us  ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x14], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, neq_us        ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x14                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], neq_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x14                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], neq_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x14     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], neq_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x14                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], neq_us       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x14     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, neq_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x14                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, neq_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x14     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, neq_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x14                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, neq_us  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x14     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, nlt_uq                    ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x15                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, nlt_uq             ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x15                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], nlt_uq              ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x15                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], nlt_uq  ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x15], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, nlt_uq        ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x15                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], nlt_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x15                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], nlt_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x15     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], nlt_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x15                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], nlt_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x15     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, nlt_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x15                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, nlt_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x15     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, nlt_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x15                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, nlt_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x15     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, nle_uq                    ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x16                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, nle_uq             ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x16                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], nle_uq              ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x16                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], nle_uq  ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x16], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, nle_uq        ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x16                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], nle_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x16                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], nle_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x16     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], nle_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x16                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], nle_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x16     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, nle_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x16                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, nle_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x16     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, nle_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x16                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, nle_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x16     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, ord_s                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x17                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, ord_s              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x17                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], ord_s               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x17                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], ord_s   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x17], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, ord_s         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x17                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], ord_s        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x17                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], ord_s        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x17     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], ord_s        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x17                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], ord_s        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x17     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, ord_s   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x17                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, ord_s   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x17     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, ord_s   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x17                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, ord_s   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x17     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, eq_us                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x18                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, eq_us              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x18                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], eq_us               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x18                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], eq_us   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x18], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, eq_us         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x18                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], eq_us        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x18                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], eq_us        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x18     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], eq_us        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x18                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], eq_us        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x18     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, eq_us   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x18                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, eq_us   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x18     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, eq_us   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x18                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, eq_us   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x18     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, nge_uq                    ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x19                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, nge_uq             ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x19                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], nge_uq              ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x19                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], nge_uq  ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x19], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, nge_uq        ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x19                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], nge_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x19                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], nge_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x19     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], nge_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x19                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], nge_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x19     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, nge_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x19                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, nge_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x19     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, nge_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x19                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, nge_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x19     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, ngt_uq                    ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x1a                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, ngt_uq             ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x1a                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], ngt_uq              ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x1a                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], ngt_uq  ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x1a], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, ngt_uq        ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x1a                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], ngt_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x1a                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], ngt_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x1a     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], ngt_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x1a                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], ngt_uq       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x1a     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, ngt_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x1a                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, ngt_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x1a     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, ngt_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x1a                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, ngt_uq  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x1a     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, false_os                  ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x1b                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, false_os           ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x1b                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], false_os            ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x1b                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], false_os', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x1b], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, false_os      ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x1b                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], false_os     ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x1b                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], false_os     ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x1b     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], false_os     ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x1b                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], false_os     ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x1b     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, false_os', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x1b                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, false_os', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x1b     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, false_os', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x1b                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, false_os', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x1b     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, neq_os                    ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x1c                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, neq_os             ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x1c                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], neq_os              ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x1c                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], neq_os  ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x1c], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, neq_os        ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x1c                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], neq_os       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x1c                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], neq_os       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x1c     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], neq_os       ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x1c                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], neq_os       ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x1c     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, neq_os  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x1c                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, neq_os  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x1c     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, neq_os  ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x1c                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, neq_os  ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x1c     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, ge_oq                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x1d                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, ge_oq              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x1d                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], ge_oq               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x1d                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], ge_oq   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x1d], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, ge_oq         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x1d                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], ge_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x1d                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], ge_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x1d     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], ge_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x1d                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], ge_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x1d     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, ge_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x1d                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, ge_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x1d     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, ge_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x1d                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, ge_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x1d     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, gt_oq                     ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x1e                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, gt_oq              ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x1e                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], gt_oq               ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x1e                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], gt_oq   ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x1e], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, gt_oq         ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x1e                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], gt_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x1e                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], gt_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x1e     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], gt_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x1e                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], gt_oq        ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x1e     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, gt_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x1e                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, gt_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x1e     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, gt_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x1e                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, gt_oq   ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x1e     ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, true_us                   ', [0x62,0x91,0x8d,0x40,0xc2,0xed,0x1f                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zmm29, {sae}, true_us            ', [0x62,0x91,0x8d,0x10,0xc2,0xed,0x1f                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rcx], true_us             ', [0x62,0xf1,0x8d,0x40,0xc2,0x29,0x1f                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rax+r14*8+0x123], true_us ', [0x62,0xb1,0x8d,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x1f], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rcx]{1to8}, true_us       ', [0x62,0xf1,0x8d,0x50,0xc2,0x29,0x1f                         ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x1fc0], true_us      ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x7f,0x1f                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx+0x2000], true_us      ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x1f     ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2000], true_us      ', [0x62,0xf1,0x8d,0x40,0xc2,0x6a,0x80,0x1f                    ], 'MODE64');
TEST('vcmppd k5, zmm30, zword [rdx-0x2040], true_us      ', [0x62,0xf1,0x8d,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x1f     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x3f8]{1to8}, true_us ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x7f,0x1f                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx+0x400]{1to8}, true_us ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0x00,0x04,0x00,0x00,0x1f     ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x400]{1to8}, true_us ', [0x62,0xf1,0x8d,0x50,0xc2,0x6a,0x80,0x1f                    ], 'MODE64');
TEST('vcmppd k5, zmm30, qword [rdx-0x408]{1to8}, true_us ', [0x62,0xf1,0x8d,0x50,0xc2,0xaa,0xf8,0xfb,0xff,0xff,0x1f     ], 'MODE64');

TEST('vcmpps k5, zmm30, zmm29, 171                        ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0xab                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, 123                        ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x7b                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], 123                  ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x7b                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], 123      ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], 123           ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x7b                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], 123           ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], 123           ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x7b                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], 123           ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, eq_oq                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x00                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, eq_oq               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x00                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], eq_oq                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x00                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], eq_oq    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x00], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, eq_oq         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x00                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], eq_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x00                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], eq_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x00     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], eq_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x00                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], eq_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x00     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, eq_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x00                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, eq_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x00     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, eq_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x00                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, eq_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x00     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, lt_os                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x01                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, lt_os               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x01                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], lt_os                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x01                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], lt_os    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x01], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, lt_os         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x01                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], lt_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x01                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], lt_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x01     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], lt_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x01                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], lt_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x01     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, lt_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x01                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, lt_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x01     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, lt_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x01                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, lt_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x01     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, le_os                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x02                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, le_os               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x02                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], le_os                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x02                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], le_os    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x02], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, le_os         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x02                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], le_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x02                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], le_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x02     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], le_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x02                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], le_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x02     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, le_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x02                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, le_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x02     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, le_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x02                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, le_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x02     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, unord_q                    ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x03                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, unord_q             ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x03                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], unord_q              ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x03                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], unord_q  ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x03], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, unord_q       ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x03                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], unord_q       ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x03                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], unord_q       ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x03     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], unord_q       ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x03                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], unord_q       ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x03     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, unord_q ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x03                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, unord_q ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x03     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, unord_q ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x03                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, unord_q ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x03     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, neq_uq                     ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x04                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, neq_uq              ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x04                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], neq_uq               ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x04                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], neq_uq   ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x04], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, neq_uq        ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x04                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], neq_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x04                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], neq_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x04     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], neq_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x04                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], neq_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x04     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, neq_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x04                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, neq_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x04     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, neq_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x04                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, neq_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x04     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, nlt_us                     ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x05                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, nlt_us              ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x05                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], nlt_us               ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x05                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], nlt_us   ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x05], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, nlt_us        ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x05                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], nlt_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x05                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], nlt_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x05     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], nlt_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x05                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], nlt_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x05     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, nlt_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x05                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, nlt_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x05     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, nlt_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x05                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, nlt_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x05     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, nle_us                     ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x06                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, nle_us              ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x06                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], nle_us               ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x06                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], nle_us   ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x06], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, nle_us        ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x06                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], nle_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x06                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], nle_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x06     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], nle_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x06                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], nle_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x06     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, nle_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x06                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, nle_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x06     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, nle_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x06                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, nle_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x06     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, ord_q                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x07                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, ord_q               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x07                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], ord_q                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x07                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], ord_q    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x07], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, ord_q         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x07                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], ord_q         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x07                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], ord_q         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x07     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], ord_q         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x07                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], ord_q         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x07     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, ord_q   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x07                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, ord_q   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x07     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, ord_q   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x07                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, ord_q   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x07     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, eq_uq                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x08                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, eq_uq               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x08                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], eq_uq                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x08                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], eq_uq    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x08], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, eq_uq         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x08                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], eq_uq         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x08                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], eq_uq         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x08     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], eq_uq         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x08                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], eq_uq         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x08     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, eq_uq   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x08                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, eq_uq   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x08     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, eq_uq   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x08                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, eq_uq   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x08     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, nge_us                     ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x09                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, nge_us              ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x09                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], nge_us               ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x09                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], nge_us   ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x09], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, nge_us        ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x09                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], nge_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x09                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], nge_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x09     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], nge_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x09                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], nge_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x09     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, nge_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x09                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, nge_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x09     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, nge_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x09                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, nge_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x09     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, ngt_us                     ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x0a                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, ngt_us              ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x0a                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], ngt_us               ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x0a                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], ngt_us   ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x0a], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, ngt_us        ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x0a                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], ngt_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x0a                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], ngt_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x0a     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], ngt_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x0a                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], ngt_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x0a     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, ngt_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x0a                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, ngt_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x0a     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, ngt_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x0a                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, ngt_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x0a     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, false_oq                   ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x0b                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, false_oq            ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x0b                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], false_oq             ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x0b                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], false_oq ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x0b], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, false_oq      ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x0b                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], false_oq      ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x0b                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], false_oq      ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x0b     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], false_oq      ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x0b                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], false_oq      ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x0b     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, false_oq', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x0b                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, false_oq', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x0b     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, false_oq', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x0b                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, false_oq', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x0b     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, neq_oq                     ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x0c                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, neq_oq              ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x0c                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], neq_oq               ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x0c                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], neq_oq   ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x0c], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, neq_oq        ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x0c                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], neq_oq        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x0c                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], neq_oq        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x0c     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], neq_oq        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x0c                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], neq_oq        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x0c     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, neq_oq  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x0c                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, neq_oq  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x0c     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, neq_oq  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x0c                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, neq_oq  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x0c     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, ge_os                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x0d                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, ge_os               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x0d                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], ge_os                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x0d                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], ge_os    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x0d], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, ge_os         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x0d                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], ge_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x0d                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], ge_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x0d     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], ge_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x0d                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], ge_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x0d     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, ge_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x0d                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, ge_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x0d     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, ge_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x0d                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, ge_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x0d     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, gt_os                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x0e                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, gt_os               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x0e                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], gt_os                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x0e                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], gt_os    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x0e], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, gt_os         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x0e                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], gt_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x0e                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], gt_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x0e     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], gt_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x0e                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], gt_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x0e     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, gt_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x0e                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, gt_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x0e     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, gt_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x0e                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, gt_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x0e     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, true_uq                    ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x0f                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, true_uq             ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x0f                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], true_uq              ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x0f                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], true_uq  ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x0f], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, true_uq       ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x0f                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], true_uq       ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x0f                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], true_uq       ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x0f     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], true_uq       ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x0f                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], true_uq       ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x0f     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, true_uq ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x0f                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, true_uq ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x0f     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, true_uq ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x0f                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, true_uq ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x0f     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, eq_os                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x10                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, eq_os               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x10                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], eq_os                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x10                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], eq_os    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x10], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, eq_os         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x10                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], eq_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x10                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], eq_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x10     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], eq_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x10                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], eq_os         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x10     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, eq_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x10                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, eq_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x10     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, eq_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x10                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, eq_os   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x10     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, lt_oq                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x11                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, lt_oq               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x11                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], lt_oq                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x11                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], lt_oq    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x11], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, lt_oq         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x11                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], lt_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x11                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], lt_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x11     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], lt_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x11                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], lt_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x11     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, lt_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x11                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, lt_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x11     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, lt_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x11                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, lt_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x11     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, le_oq                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x12                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, le_oq               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x12                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], le_oq                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x12                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], le_oq    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x12], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, le_oq         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x12                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], le_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x12                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], le_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x12     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], le_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x12                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], le_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x12     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, le_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x12                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, le_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x12     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, le_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x12                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, le_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x12     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, unord_s                    ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x13                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, unord_s             ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x13                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], unord_s              ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x13                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], unord_s  ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x13], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, unord_s       ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x13                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], unord_s       ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x13                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], unord_s       ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x13     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], unord_s       ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x13                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], unord_s       ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x13     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, unord_s ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x13                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, unord_s ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x13     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, unord_s ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x13                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, unord_s ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x13     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, neq_us                     ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x14                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, neq_us              ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x14                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], neq_us               ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x14                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], neq_us   ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x14], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, neq_us        ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x14                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], neq_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x14                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], neq_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x14     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], neq_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x14                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], neq_us        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x14     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, neq_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x14                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, neq_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x14     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, neq_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x14                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, neq_us  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x14     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, nlt_uq                     ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x15                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, nlt_uq              ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x15                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], nlt_uq               ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x15                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], nlt_uq   ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x15], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, nlt_uq        ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x15                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], nlt_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x15                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], nlt_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x15     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], nlt_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x15                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], nlt_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x15     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, nlt_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x15                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, nlt_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x15     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, nlt_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x15                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, nlt_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x15     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, nle_uq                     ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x16                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, nle_uq              ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x16                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], nle_uq               ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x16                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], nle_uq   ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x16], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, nle_uq        ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x16                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], nle_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x16                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], nle_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x16     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], nle_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x16                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], nle_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x16     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, nle_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x16                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, nle_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x16     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, nle_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x16                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, nle_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x16     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, ord_s                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x17                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, ord_s               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x17                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], ord_s                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x17                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], ord_s    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x17], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, ord_s         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x17                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], ord_s         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x17                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], ord_s         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x17     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], ord_s         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x17                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], ord_s         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x17     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, ord_s   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x17                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, ord_s   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x17     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, ord_s   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x17                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, ord_s   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x17     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, eq_us                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x18                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, eq_us               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x18                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], eq_us                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x18                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], eq_us    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x18], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, eq_us         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x18                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], eq_us         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x18                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], eq_us         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x18     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], eq_us         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x18                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], eq_us         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x18     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, eq_us   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x18                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, eq_us   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x18     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, eq_us   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x18                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, eq_us   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x18     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, nge_uq                     ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x19                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, nge_uq              ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x19                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], nge_uq               ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x19                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], nge_uq   ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x19], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, nge_uq        ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x19                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], nge_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x19                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], nge_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x19     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], nge_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x19                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], nge_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x19     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, nge_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x19                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, nge_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x19     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, nge_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x19                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, nge_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x19     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, ngt_uq                     ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x1a                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, ngt_uq              ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x1a                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], ngt_uq               ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x1a                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], ngt_uq   ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x1a], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, ngt_uq        ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x1a                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], ngt_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x1a                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], ngt_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x1a     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], ngt_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x1a                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], ngt_uq        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x1a     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, ngt_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x1a                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, ngt_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x1a     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, ngt_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x1a                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, ngt_uq  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x1a     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, false_os                   ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x1b                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, false_os            ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x1b                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], false_os             ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x1b                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], false_os ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x1b], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, false_os      ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x1b                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], false_os      ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x1b                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], false_os      ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x1b     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], false_os      ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x1b                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], false_os      ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x1b     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, false_os', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x1b                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, false_os', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x1b     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, false_os', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x1b                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, false_os', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x1b     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, neq_os                     ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x1c                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, neq_os              ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x1c                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], neq_os               ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x1c                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], neq_os   ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x1c], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, neq_os        ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x1c                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], neq_os        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x1c                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], neq_os        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x1c     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], neq_os        ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x1c                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], neq_os        ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x1c     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, neq_os  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x1c                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, neq_os  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x1c     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, neq_os  ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x1c                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, neq_os  ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x1c     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, ge_oq                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x1d                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, ge_oq               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x1d                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], ge_oq                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x1d                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], ge_oq    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x1d], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, ge_oq         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x1d                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], ge_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x1d                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], ge_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x1d     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], ge_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x1d                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], ge_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x1d     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, ge_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x1d                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, ge_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x1d     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, ge_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x1d                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, ge_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x1d     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, gt_oq                      ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x1e                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, gt_oq               ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x1e                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], gt_oq                ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x1e                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], gt_oq    ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x1e], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, gt_oq         ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x1e                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], gt_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x1e                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], gt_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x1e     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], gt_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x1e                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], gt_oq         ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x1e     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, gt_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x1e                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, gt_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x1e     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, gt_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x1e                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, gt_oq   ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x1e     ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, true_us                    ', [0x62,0x91,0x0c,0x40,0xc2,0xed,0x1f                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zmm29, {sae}, true_us             ', [0x62,0x91,0x0c,0x10,0xc2,0xed,0x1f                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rcx], true_us              ', [0x62,0xf1,0x0c,0x40,0xc2,0x29,0x1f                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rax+r14*8+0x123], true_us  ', [0x62,0xb1,0x0c,0x40,0xc2,0xac,0xf0,0x23,0x01,0x00,0x00,0x1f], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rcx]{1to16}, true_us       ', [0x62,0xf1,0x0c,0x50,0xc2,0x29,0x1f                         ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x1fc0], true_us       ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x7f,0x1f                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx+0x2000], true_us       ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0x00,0x20,0x00,0x00,0x1f     ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2000], true_us       ', [0x62,0xf1,0x0c,0x40,0xc2,0x6a,0x80,0x1f                    ], 'MODE64');
TEST('vcmpps k5, zmm30, zword [rdx-0x2040], true_us       ', [0x62,0xf1,0x0c,0x40,0xc2,0xaa,0xc0,0xdf,0xff,0xff,0x1f     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x1fc]{1to16}, true_us ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x7f,0x1f                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx+0x200]{1to16}, true_us ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0x00,0x02,0x00,0x00,0x1f     ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x200]{1to16}, true_us ', [0x62,0xf1,0x0c,0x50,0xc2,0x6a,0x80,0x1f                    ], 'MODE64');
TEST('vcmpps k5, zmm30, dword [rdx-0x204]{1to16}, true_us ', [0x62,0xf1,0x0c,0x50,0xc2,0xaa,0xfc,0xfd,0xff,0xff,0x1f     ], 'MODE64');

TEST('vcompresspd zword [rcx], zmm30            ', [0x62,0x62,0xfd,0x48,0x8a,0x31                         ], 'MODE64');
TEST('vcompresspd zword [rax+r14*8+0x123], zmm30', [0x62,0x22,0xfd,0x48,0x8a,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vcompresspd zword [rdx+0x3f8], zmm30      ', [0x62,0x62,0xfd,0x48,0x8a,0x72,0x7f                    ], 'MODE64');
TEST('vcompresspd zword [rdx+0x400], zmm30      ', [0x62,0x62,0xfd,0x48,0x8a,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vcompresspd zword [rdx-0x400], zmm30      ', [0x62,0x62,0xfd,0x48,0x8a,0x72,0x80                    ], 'MODE64');
TEST('vcompresspd zword [rdx-0x408], zmm30      ', [0x62,0x62,0xfd,0x48,0x8a,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');
TEST('vcompresspd zmm30, zmm29                  ', [0x62,0x02,0xfd,0x48,0x8a,0xee                         ], 'MODE64');

TEST('vcompressps zword [rcx], zmm30            ', [0x62,0x62,0x7d,0x48,0x8a,0x31                         ], 'MODE64');
TEST('vcompressps zword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7d,0x48,0x8a,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vcompressps zword [rdx+0x1fc], zmm30      ', [0x62,0x62,0x7d,0x48,0x8a,0x72,0x7f                    ], 'MODE64');
TEST('vcompressps zword [rdx+0x200], zmm30      ', [0x62,0x62,0x7d,0x48,0x8a,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vcompressps zword [rdx-0x200], zmm30      ', [0x62,0x62,0x7d,0x48,0x8a,0x72,0x80                    ], 'MODE64');
TEST('vcompressps zword [rdx-0x204], zmm30      ', [0x62,0x62,0x7d,0x48,0x8a,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');
TEST('vcompressps zmm30, zmm29                  ', [0x62,0x02,0x7d,0x48,0x8a,0xee                         ], 'MODE64');

TEST('vcvtdq2ps zmm30, zmm29                   ', [0x62,0x01,0x7c,0x48,0x5b,0xf5                         ], 'MODE64');
TEST('vcvtdq2ps zmm30, zmm29, {rn-sae}         ', [0x62,0x01,0x7c,0x18,0x5b,0xf5                         ], 'MODE64');
TEST('vcvtdq2ps zmm30, zmm29, {ru-sae}         ', [0x62,0x01,0x7c,0x58,0x5b,0xf5                         ], 'MODE64');
TEST('vcvtdq2ps zmm30, zmm29, {rd-sae}         ', [0x62,0x01,0x7c,0x38,0x5b,0xf5                         ], 'MODE64');
TEST('vcvtdq2ps zmm30, zmm29, {rz-sae}         ', [0x62,0x01,0x7c,0x78,0x5b,0xf5                         ], 'MODE64');
TEST('vcvtdq2ps zmm30, zword [rcx]             ', [0x62,0x61,0x7c,0x48,0x5b,0x31                         ], 'MODE64');
TEST('vcvtdq2ps zmm30, zword [rax+r14*8+0x123] ', [0x62,0x21,0x7c,0x48,0x5b,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vcvtdq2ps zmm30, dword [rcx]{1to16}      ', [0x62,0x61,0x7c,0x58,0x5b,0x31                         ], 'MODE64');
TEST('vcvtdq2ps zmm30, zword [rdx+0x1fc0]      ', [0x62,0x61,0x7c,0x48,0x5b,0x72,0x7f                    ], 'MODE64');
TEST('vcvtdq2ps zmm30, zword [rdx+0x2000]      ', [0x62,0x61,0x7c,0x48,0x5b,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vcvtdq2ps zmm30, zword [rdx-0x2000]      ', [0x62,0x61,0x7c,0x48,0x5b,0x72,0x80                    ], 'MODE64');
TEST('vcvtdq2ps zmm30, zword [rdx-0x2040]      ', [0x62,0x61,0x7c,0x48,0x5b,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vcvtdq2ps zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x7c,0x58,0x5b,0x72,0x7f                    ], 'MODE64');
TEST('vcvtdq2ps zmm30, dword [rdx+0x200]{1to16}', [0x62,0x61,0x7c,0x58,0x5b,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vcvtdq2ps zmm30, dword [rdx-0x200]{1to16}', [0x62,0x61,0x7c,0x58,0x5b,0x72,0x80                    ], 'MODE64');
TEST('vcvtdq2ps zmm30, dword [rdx-0x204]{1to16}', [0x62,0x61,0x7c,0x58,0x5b,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vcvtps2dq zmm30, zmm29                   ', [0x62,0x01,0x7d,0x48,0x5b,0xf5                         ], 'MODE64');
TEST('vcvtps2dq zmm30, zmm29, {rn-sae}         ', [0x62,0x01,0x7d,0x18,0x5b,0xf5                         ], 'MODE64');
TEST('vcvtps2dq zmm30, zmm29, {ru-sae}         ', [0x62,0x01,0x7d,0x58,0x5b,0xf5                         ], 'MODE64');
TEST('vcvtps2dq zmm30, zmm29, {rd-sae}         ', [0x62,0x01,0x7d,0x38,0x5b,0xf5                         ], 'MODE64');
TEST('vcvtps2dq zmm30, zmm29, {rz-sae}         ', [0x62,0x01,0x7d,0x78,0x5b,0xf5                         ], 'MODE64');
TEST('vcvtps2dq zmm30, zword [rcx]             ', [0x62,0x61,0x7d,0x48,0x5b,0x31                         ], 'MODE64');
TEST('vcvtps2dq zmm30, zword [rax+r14*8+0x123] ', [0x62,0x21,0x7d,0x48,0x5b,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vcvtps2dq zmm30, dword [rcx]{1to16}      ', [0x62,0x61,0x7d,0x58,0x5b,0x31                         ], 'MODE64');
TEST('vcvtps2dq zmm30, zword [rdx+0x1fc0]      ', [0x62,0x61,0x7d,0x48,0x5b,0x72,0x7f                    ], 'MODE64');
TEST('vcvtps2dq zmm30, zword [rdx+0x2000]      ', [0x62,0x61,0x7d,0x48,0x5b,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vcvtps2dq zmm30, zword [rdx-0x2000]      ', [0x62,0x61,0x7d,0x48,0x5b,0x72,0x80                    ], 'MODE64');
TEST('vcvtps2dq zmm30, zword [rdx-0x2040]      ', [0x62,0x61,0x7d,0x48,0x5b,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vcvtps2dq zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x7d,0x58,0x5b,0x72,0x7f                    ], 'MODE64');
TEST('vcvtps2dq zmm30, dword [rdx+0x200]{1to16}', [0x62,0x61,0x7d,0x58,0x5b,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vcvtps2dq zmm30, dword [rdx-0x200]{1to16}', [0x62,0x61,0x7d,0x58,0x5b,0x72,0x80                    ], 'MODE64');
TEST('vcvtps2dq zmm30, dword [rdx-0x204]{1to16}', [0x62,0x61,0x7d,0x58,0x5b,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vcvtps2ph yword [rdx+0xfe0], zmm30, 123      ', [0x62,0x63,0x7d,0x48,0x1d,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vcvtps2ph yword [rcx], zmm30, 171            ', [0x62,0x63,0x7d,0x48,0x1d,0x31,0xab                         ], 'MODE64');
TEST('vcvtps2ph yword [rcx], zmm30, 123            ', [0x62,0x63,0x7d,0x48,0x1d,0x31,0x7b                         ], 'MODE64');
TEST('vcvtps2ph yword [rax+r14*8+0x123], zmm30, 123', [0x62,0x23,0x7d,0x48,0x1d,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vcvtps2ph yword [rdx+0x1000], zmm30, 123     ', [0x62,0x63,0x7d,0x48,0x1d,0xb2,0x00,0x10,0x00,0x00,0x7b     ], 'MODE64');
TEST('vcvtps2ph yword [rdx-0x1000], zmm30, 123     ', [0x62,0x63,0x7d,0x48,0x1d,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vcvtps2ph yword [rdx-0x1020], zmm30, 123     ', [0x62,0x63,0x7d,0x48,0x1d,0xb2,0xe0,0xef,0xff,0xff,0x7b     ], 'MODE64');

TEST('vcvtps2udq zmm30, zmm29                   ', [0x62,0x01,0x7c,0x48,0x79,0xf5                         ], 'MODE64');
TEST('vcvtps2udq zmm30, zmm29, {rn-sae}         ', [0x62,0x01,0x7c,0x18,0x79,0xf5                         ], 'MODE64');
TEST('vcvtps2udq zmm30, zmm29, {ru-sae}         ', [0x62,0x01,0x7c,0x58,0x79,0xf5                         ], 'MODE64');
TEST('vcvtps2udq zmm30, zmm29, {rd-sae}         ', [0x62,0x01,0x7c,0x38,0x79,0xf5                         ], 'MODE64');
TEST('vcvtps2udq zmm30, zmm29, {rz-sae}         ', [0x62,0x01,0x7c,0x78,0x79,0xf5                         ], 'MODE64');
TEST('vcvtps2udq zmm30, zword [rcx]             ', [0x62,0x61,0x7c,0x48,0x79,0x31                         ], 'MODE64');
TEST('vcvtps2udq zmm30, zword [rax+r14*8+0x123] ', [0x62,0x21,0x7c,0x48,0x79,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vcvtps2udq zmm30, dword [rcx]{1to16}      ', [0x62,0x61,0x7c,0x58,0x79,0x31                         ], 'MODE64');
TEST('vcvtps2udq zmm30, zword [rdx+0x1fc0]      ', [0x62,0x61,0x7c,0x48,0x79,0x72,0x7f                    ], 'MODE64');
TEST('vcvtps2udq zmm30, zword [rdx+0x2000]      ', [0x62,0x61,0x7c,0x48,0x79,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vcvtps2udq zmm30, zword [rdx-0x2000]      ', [0x62,0x61,0x7c,0x48,0x79,0x72,0x80                    ], 'MODE64');
TEST('vcvtps2udq zmm30, zword [rdx-0x2040]      ', [0x62,0x61,0x7c,0x48,0x79,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vcvtps2udq zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x7c,0x58,0x79,0x72,0x7f                    ], 'MODE64');
TEST('vcvtps2udq zmm30, dword [rdx+0x200]{1to16}', [0x62,0x61,0x7c,0x58,0x79,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vcvtps2udq zmm30, dword [rdx-0x200]{1to16}', [0x62,0x61,0x7c,0x58,0x79,0x72,0x80                    ], 'MODE64');
TEST('vcvtps2udq zmm30, dword [rdx-0x204]{1to16}', [0x62,0x61,0x7c,0x58,0x79,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vcvttps2dq zmm30, zmm29                   ', [0x62,0x01,0x7e,0x48,0x5b,0xf5                         ], 'MODE64');
TEST('vcvttps2dq zmm30, zmm29, {sae}            ', [0x62,0x01,0x7e,0x18,0x5b,0xf5                         ], 'MODE64');
TEST('vcvttps2dq zmm30, zword [rcx]             ', [0x62,0x61,0x7e,0x48,0x5b,0x31                         ], 'MODE64');
TEST('vcvttps2dq zmm30, zword [rax+r14*8+0x123] ', [0x62,0x21,0x7e,0x48,0x5b,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vcvttps2dq zmm30, dword [rcx]{1to16}      ', [0x62,0x61,0x7e,0x58,0x5b,0x31                         ], 'MODE64');
TEST('vcvttps2dq zmm30, zword [rdx+0x1fc0]      ', [0x62,0x61,0x7e,0x48,0x5b,0x72,0x7f                    ], 'MODE64');
TEST('vcvttps2dq zmm30, zword [rdx+0x2000]      ', [0x62,0x61,0x7e,0x48,0x5b,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vcvttps2dq zmm30, zword [rdx-0x2000]      ', [0x62,0x61,0x7e,0x48,0x5b,0x72,0x80                    ], 'MODE64');
TEST('vcvttps2dq zmm30, zword [rdx-0x2040]      ', [0x62,0x61,0x7e,0x48,0x5b,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vcvttps2dq zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x7e,0x58,0x5b,0x72,0x7f                    ], 'MODE64');
TEST('vcvttps2dq zmm30, dword [rdx+0x200]{1to16}', [0x62,0x61,0x7e,0x58,0x5b,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vcvttps2dq zmm30, dword [rdx-0x200]{1to16}', [0x62,0x61,0x7e,0x58,0x5b,0x72,0x80                    ], 'MODE64');
TEST('vcvttps2dq zmm30, dword [rdx-0x204]{1to16}', [0x62,0x61,0x7e,0x58,0x5b,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vcvttps2udq zmm30, zmm29                   ', [0x62,0x01,0x7c,0x48,0x78,0xf5                         ], 'MODE64');
TEST('vcvttps2udq zmm30, zmm29, {sae}            ', [0x62,0x01,0x7c,0x18,0x78,0xf5                         ], 'MODE64');
TEST('vcvttps2udq zmm30, zword [rcx]             ', [0x62,0x61,0x7c,0x48,0x78,0x31                         ], 'MODE64');
TEST('vcvttps2udq zmm30, zword [rax+r14*8+0x123] ', [0x62,0x21,0x7c,0x48,0x78,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vcvttps2udq zmm30, dword [rcx]{1to16}      ', [0x62,0x61,0x7c,0x58,0x78,0x31                         ], 'MODE64');
TEST('vcvttps2udq zmm30, zword [rdx+0x1fc0]      ', [0x62,0x61,0x7c,0x48,0x78,0x72,0x7f                    ], 'MODE64');
TEST('vcvttps2udq zmm30, zword [rdx+0x2000]      ', [0x62,0x61,0x7c,0x48,0x78,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vcvttps2udq zmm30, zword [rdx-0x2000]      ', [0x62,0x61,0x7c,0x48,0x78,0x72,0x80                    ], 'MODE64');
TEST('vcvttps2udq zmm30, zword [rdx-0x2040]      ', [0x62,0x61,0x7c,0x48,0x78,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vcvttps2udq zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x7c,0x58,0x78,0x72,0x7f                    ], 'MODE64');
TEST('vcvttps2udq zmm30, dword [rdx+0x200]{1to16}', [0x62,0x61,0x7c,0x58,0x78,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vcvttps2udq zmm30, dword [rdx-0x200]{1to16}', [0x62,0x61,0x7c,0x58,0x78,0x72,0x80                    ], 'MODE64');
TEST('vcvttps2udq zmm30, dword [rdx-0x204]{1to16}', [0x62,0x61,0x7c,0x58,0x78,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vcvtudq2ps zmm30, zmm29                   ', [0x62,0x01,0x7f,0x48,0x7a,0xf5                         ], 'MODE64');
TEST('vcvtudq2ps zmm30, zmm29, {rn-sae}         ', [0x62,0x01,0x7f,0x18,0x7a,0xf5                         ], 'MODE64');
TEST('vcvtudq2ps zmm30, zmm29, {ru-sae}         ', [0x62,0x01,0x7f,0x58,0x7a,0xf5                         ], 'MODE64');
TEST('vcvtudq2ps zmm30, zmm29, {rd-sae}         ', [0x62,0x01,0x7f,0x38,0x7a,0xf5                         ], 'MODE64');
TEST('vcvtudq2ps zmm30, zmm29, {rz-sae}         ', [0x62,0x01,0x7f,0x78,0x7a,0xf5                         ], 'MODE64');
TEST('vcvtudq2ps zmm30, zword [rcx]             ', [0x62,0x61,0x7f,0x48,0x7a,0x31                         ], 'MODE64');
TEST('vcvtudq2ps zmm30, zword [rax+r14*8+0x123] ', [0x62,0x21,0x7f,0x48,0x7a,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vcvtudq2ps zmm30, dword [rcx]{1to16}      ', [0x62,0x61,0x7f,0x58,0x7a,0x31                         ], 'MODE64');
TEST('vcvtudq2ps zmm30, zword [rdx+0x1fc0]      ', [0x62,0x61,0x7f,0x48,0x7a,0x72,0x7f                    ], 'MODE64');
TEST('vcvtudq2ps zmm30, zword [rdx+0x2000]      ', [0x62,0x61,0x7f,0x48,0x7a,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vcvtudq2ps zmm30, zword [rdx-0x2000]      ', [0x62,0x61,0x7f,0x48,0x7a,0x72,0x80                    ], 'MODE64');
TEST('vcvtudq2ps zmm30, zword [rdx-0x2040]      ', [0x62,0x61,0x7f,0x48,0x7a,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vcvtudq2ps zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x7f,0x58,0x7a,0x72,0x7f                    ], 'MODE64');
TEST('vcvtudq2ps zmm30, dword [rdx+0x200]{1to16}', [0x62,0x61,0x7f,0x58,0x7a,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vcvtudq2ps zmm30, dword [rdx-0x200]{1to16}', [0x62,0x61,0x7f,0x58,0x7a,0x72,0x80                    ], 'MODE64');
TEST('vcvtudq2ps zmm30, dword [rdx-0x204]{1to16}', [0x62,0x61,0x7f,0x58,0x7a,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vdivpd zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0x5e,0xf4                         ], 'MODE64');
TEST('vdivpd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x01,0x95,0x10,0x5e,0xf4                         ], 'MODE64');
TEST('vdivpd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x01,0x95,0x50,0x5e,0xf4                         ], 'MODE64');
TEST('vdivpd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x01,0x95,0x30,0x5e,0xf4                         ], 'MODE64');
TEST('vdivpd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x01,0x95,0x70,0x5e,0xf4                         ], 'MODE64');
TEST('vdivpd zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0x5e,0x31                         ], 'MODE64');
TEST('vdivpd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0x5e,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vdivpd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0x5e,0x31                         ], 'MODE64');
TEST('vdivpd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0x5e,0x72,0x7f                    ], 'MODE64');
TEST('vdivpd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0x5e,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vdivpd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0x5e,0x72,0x80                    ], 'MODE64');
TEST('vdivpd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0x5e,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vdivpd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0x5e,0x72,0x7f                    ], 'MODE64');
TEST('vdivpd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0x5e,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vdivpd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0x5e,0x72,0x80                    ], 'MODE64');
TEST('vdivpd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0x5e,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vdivps zmm30, zmm29, zmm28                   ', [0x62,0x01,0x14,0x40,0x5e,0xf4                         ], 'MODE64');
TEST('vdivps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x01,0x14,0x10,0x5e,0xf4                         ], 'MODE64');
TEST('vdivps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x01,0x14,0x50,0x5e,0xf4                         ], 'MODE64');
TEST('vdivps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x01,0x14,0x30,0x5e,0xf4                         ], 'MODE64');
TEST('vdivps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x01,0x14,0x70,0x5e,0xf4                         ], 'MODE64');
TEST('vdivps zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x14,0x40,0x5e,0x31                         ], 'MODE64');
TEST('vdivps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x14,0x40,0x5e,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vdivps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x14,0x50,0x5e,0x31                         ], 'MODE64');
TEST('vdivps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x14,0x40,0x5e,0x72,0x7f                    ], 'MODE64');
TEST('vdivps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x14,0x40,0x5e,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vdivps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x14,0x40,0x5e,0x72,0x80                    ], 'MODE64');
TEST('vdivps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x14,0x40,0x5e,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vdivps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x14,0x50,0x5e,0x72,0x7f                    ], 'MODE64');
TEST('vdivps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x14,0x50,0x5e,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vdivps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x14,0x50,0x5e,0x72,0x80                    ], 'MODE64');
TEST('vdivps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x14,0x50,0x5e,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vexpandpd zmm30, zword [rcx]            ', [0x62,0x62,0xfd,0x48,0x88,0x31                         ], 'MODE64');
TEST('vexpandpd zmm30, zword [rax+r14*8+0x123]', [0x62,0x22,0xfd,0x48,0x88,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vexpandpd zmm30, zword [rdx+0x3f8]      ', [0x62,0x62,0xfd,0x48,0x88,0x72,0x7f                    ], 'MODE64');
TEST('vexpandpd zmm30, zword [rdx+0x400]      ', [0x62,0x62,0xfd,0x48,0x88,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vexpandpd zmm30, zword [rdx-0x400]      ', [0x62,0x62,0xfd,0x48,0x88,0x72,0x80                    ], 'MODE64');
TEST('vexpandpd zmm30, zword [rdx-0x408]      ', [0x62,0x62,0xfd,0x48,0x88,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');
TEST('vexpandpd zmm30, zmm29                  ', [0x62,0x02,0xfd,0x48,0x88,0xf5                         ], 'MODE64');

TEST('vexpandps zmm30, zword [rcx]            ', [0x62,0x62,0x7d,0x48,0x88,0x31                         ], 'MODE64');
TEST('vexpandps zmm30, zword [rax+r14*8+0x123]', [0x62,0x22,0x7d,0x48,0x88,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vexpandps zmm30, zword [rdx+0x1fc]      ', [0x62,0x62,0x7d,0x48,0x88,0x72,0x7f                    ], 'MODE64');
TEST('vexpandps zmm30, zword [rdx+0x200]      ', [0x62,0x62,0x7d,0x48,0x88,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vexpandps zmm30, zword [rdx-0x200]      ', [0x62,0x62,0x7d,0x48,0x88,0x72,0x80                    ], 'MODE64');
TEST('vexpandps zmm30, zword [rdx-0x204]      ', [0x62,0x62,0x7d,0x48,0x88,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');
TEST('vexpandps zmm30, zmm29                  ', [0x62,0x02,0x7d,0x48,0x88,0xf5                         ], 'MODE64');

TEST('vextractf32x4 oword [rcx], zmm30, 171            ', [0x62,0x63,0x7d,0x48,0x19,0x31,0xab                         ], 'MODE64');
TEST('vextractf32x4 oword [rcx], zmm30, 123            ', [0x62,0x63,0x7d,0x48,0x19,0x31,0x7b                         ], 'MODE64');
TEST('vextractf32x4 oword [rax+r14*8+0x123], zmm30, 123', [0x62,0x23,0x7d,0x48,0x19,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vextractf32x4 oword [rdx+0x7f0], zmm30, 123      ', [0x62,0x63,0x7d,0x48,0x19,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vextractf32x4 oword [rdx+0x800], zmm30, 123      ', [0x62,0x63,0x7d,0x48,0x19,0xb2,0x00,0x08,0x00,0x00,0x7b     ], 'MODE64');
TEST('vextractf32x4 oword [rdx-0x800], zmm30, 123      ', [0x62,0x63,0x7d,0x48,0x19,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vextractf32x4 oword [rdx-0x810], zmm30, 123      ', [0x62,0x63,0x7d,0x48,0x19,0xb2,0xf0,0xf7,0xff,0xff,0x7b     ], 'MODE64');

TEST('vextractf64x4 yword [rcx], zmm30, 171            ', [0x62,0x63,0xfd,0x48,0x1b,0x31,0xab                         ], 'MODE64');
TEST('vextractf64x4 yword [rcx], zmm30, 123            ', [0x62,0x63,0xfd,0x48,0x1b,0x31,0x7b                         ], 'MODE64');
TEST('vextractf64x4 yword [rax+r14*8+0x123], zmm30, 123', [0x62,0x23,0xfd,0x48,0x1b,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vextractf64x4 yword [rdx+0xfe0], zmm30, 123      ', [0x62,0x63,0xfd,0x48,0x1b,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vextractf64x4 yword [rdx+0x1000], zmm30, 123     ', [0x62,0x63,0xfd,0x48,0x1b,0xb2,0x00,0x10,0x00,0x00,0x7b     ], 'MODE64');
TEST('vextractf64x4 yword [rdx-0x1000], zmm30, 123     ', [0x62,0x63,0xfd,0x48,0x1b,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vextractf64x4 yword [rdx-0x1020], zmm30, 123     ', [0x62,0x63,0xfd,0x48,0x1b,0xb2,0xe0,0xef,0xff,0xff,0x7b     ], 'MODE64');

TEST('vextracti32x4 oword [rcx], zmm30, 171            ', [0x62,0x63,0x7d,0x48,0x39,0x31,0xab                         ], 'MODE64');
TEST('vextracti32x4 oword [rcx], zmm30, 123            ', [0x62,0x63,0x7d,0x48,0x39,0x31,0x7b                         ], 'MODE64');
TEST('vextracti32x4 oword [rax+r14*8+0x123], zmm30, 123', [0x62,0x23,0x7d,0x48,0x39,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vextracti32x4 oword [rdx+0x7f0], zmm30, 123      ', [0x62,0x63,0x7d,0x48,0x39,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vextracti32x4 oword [rdx+0x800], zmm30, 123      ', [0x62,0x63,0x7d,0x48,0x39,0xb2,0x00,0x08,0x00,0x00,0x7b     ], 'MODE64');
TEST('vextracti32x4 oword [rdx-0x800], zmm30, 123      ', [0x62,0x63,0x7d,0x48,0x39,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vextracti32x4 oword [rdx-0x810], zmm30, 123      ', [0x62,0x63,0x7d,0x48,0x39,0xb2,0xf0,0xf7,0xff,0xff,0x7b     ], 'MODE64');

TEST('vextracti64x4 yword [rcx], zmm30, 171            ', [0x62,0x63,0xfd,0x48,0x3b,0x31,0xab                         ], 'MODE64');
TEST('vextracti64x4 yword [rcx], zmm30, 123            ', [0x62,0x63,0xfd,0x48,0x3b,0x31,0x7b                         ], 'MODE64');
TEST('vextracti64x4 yword [rax+r14*8+0x123], zmm30, 123', [0x62,0x23,0xfd,0x48,0x3b,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vextracti64x4 yword [rdx+0xfe0], zmm30, 123      ', [0x62,0x63,0xfd,0x48,0x3b,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vextracti64x4 yword [rdx+0x1000], zmm30, 123     ', [0x62,0x63,0xfd,0x48,0x3b,0xb2,0x00,0x10,0x00,0x00,0x7b     ], 'MODE64');
TEST('vextracti64x4 yword [rdx-0x1000], zmm30, 123     ', [0x62,0x63,0xfd,0x48,0x3b,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vextracti64x4 yword [rdx-0x1020], zmm30, 123     ', [0x62,0x63,0xfd,0x48,0x3b,0xb2,0xe0,0xef,0xff,0xff,0x7b     ], 'MODE64');

TEST('vfixupimmpd zmm30, zmm29, zmm28, 171                  ', [0x62,0x03,0x95,0x40,0x54,0xf4,0xab                         ], 'MODE64');
TEST('vfixupimmpd zmm30, zmm29, zmm28, 123                  ', [0x62,0x03,0x95,0x40,0x54,0xf4,0x7b                         ], 'MODE64');
TEST('vfixupimmpd zmm30, zmm29, zword [rcx], 123            ', [0x62,0x63,0x95,0x40,0x54,0x31,0x7b                         ], 'MODE64');
TEST('vfixupimmpd zmm30, zmm29, zword [rax+r14*8+0x123], 123', [0x62,0x23,0x95,0x40,0x54,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vfixupimmpd zmm30, zmm29, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0x95,0x40,0x54,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vfixupimmpd zmm30, zmm29, zword [rdx+0x2000], 123     ', [0x62,0x63,0x95,0x40,0x54,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vfixupimmpd zmm30, zmm29, zword [rdx-0x2000], 123     ', [0x62,0x63,0x95,0x40,0x54,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vfixupimmpd zmm30, zmm29, zword [rdx-0x2040], 123     ', [0x62,0x63,0x95,0x40,0x54,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vfixupimmps zmm30, zmm29, zmm28, 171                  ', [0x62,0x03,0x15,0x40,0x54,0xf4,0xab                         ], 'MODE64');
TEST('vfixupimmps zmm30, zmm29, zmm28, 123                  ', [0x62,0x03,0x15,0x40,0x54,0xf4,0x7b                         ], 'MODE64');
TEST('vfixupimmps zmm30, zmm29, zword [rcx], 123            ', [0x62,0x63,0x15,0x40,0x54,0x31,0x7b                         ], 'MODE64');
TEST('vfixupimmps zmm30, zmm29, zword [rax+r14*8+0x123], 123', [0x62,0x23,0x15,0x40,0x54,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vfixupimmps zmm30, zmm29, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0x15,0x40,0x54,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vfixupimmps zmm30, zmm29, zword [rdx+0x2000], 123     ', [0x62,0x63,0x15,0x40,0x54,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vfixupimmps zmm30, zmm29, zword [rdx-0x2000], 123     ', [0x62,0x63,0x15,0x40,0x54,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vfixupimmps zmm30, zmm29, zword [rdx-0x2040], 123     ', [0x62,0x63,0x15,0x40,0x54,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vfmadd132pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x98,0xf4                         ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0x98,0xf4                         ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0x98,0xf4                         ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0x98,0xf4                         ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0x98,0xf4                         ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x98,0x31                         ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x98,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x98,0x31                         ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x98,0x72,0x7f                    ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x98,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x98,0x72,0x80                    ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x98,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x98,0x72,0x7f                    ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x98,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x98,0x72,0x80                    ], 'MODE64');
TEST('vfmadd132pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x98,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfmadd132ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x98,0xf4                         ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0x98,0xf4                         ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0x98,0xf4                         ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0x98,0xf4                         ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0x98,0xf4                         ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x98,0x31                         ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x98,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x98,0x31                         ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x98,0x72,0x7f                    ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x98,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x98,0x72,0x80                    ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x98,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x98,0x72,0x7f                    ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x98,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x98,0x72,0x80                    ], 'MODE64');
TEST('vfmadd132ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x98,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfmadd213pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0xa8,0xf4                         ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0xa8,0xf4                         ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0xa8,0xf4                         ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0xa8,0xf4                         ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0xa8,0xf4                         ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0xa8,0x31                         ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0xa8,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0xa8,0x31                         ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0xa8,0x72,0x7f                    ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0xa8,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0xa8,0x72,0x80                    ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0xa8,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0xa8,0x72,0x7f                    ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0xa8,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0xa8,0x72,0x80                    ], 'MODE64');
TEST('vfmadd213pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0xa8,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfmadd213ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0xa8,0xf4                         ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0xa8,0xf4                         ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0xa8,0xf4                         ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0xa8,0xf4                         ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0xa8,0xf4                         ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0xa8,0x31                         ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0xa8,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0xa8,0x31                         ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0xa8,0x72,0x7f                    ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0xa8,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0xa8,0x72,0x80                    ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0xa8,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0xa8,0x72,0x7f                    ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0xa8,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0xa8,0x72,0x80                    ], 'MODE64');
TEST('vfmadd213ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0xa8,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfmadd231pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0xb8,0xf4                         ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0xb8,0xf4                         ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0xb8,0xf4                         ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0xb8,0xf4                         ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0xb8,0xf4                         ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0xb8,0x31                         ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0xb8,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0xb8,0x31                         ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0xb8,0x72,0x7f                    ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0xb8,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0xb8,0x72,0x80                    ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0xb8,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0xb8,0x72,0x7f                    ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0xb8,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0xb8,0x72,0x80                    ], 'MODE64');
TEST('vfmadd231pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0xb8,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfmadd231ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0xb8,0xf4                         ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0xb8,0xf4                         ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0xb8,0xf4                         ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0xb8,0xf4                         ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0xb8,0xf4                         ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0xb8,0x31                         ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0xb8,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0xb8,0x31                         ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0xb8,0x72,0x7f                    ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0xb8,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0xb8,0x72,0x80                    ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0xb8,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0xb8,0x72,0x7f                    ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0xb8,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0xb8,0x72,0x80                    ], 'MODE64');
TEST('vfmadd231ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0xb8,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfmaddsub132pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x96,0xf4                         ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0x96,0xf4                         ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0x96,0xf4                         ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0x96,0xf4                         ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0x96,0xf4                         ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x96,0x31                         ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x96,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x96,0x31                         ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x96,0x72,0x7f                    ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x96,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x96,0x72,0x80                    ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x96,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x96,0x72,0x7f                    ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x96,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x96,0x72,0x80                    ], 'MODE64');
TEST('vfmaddsub132pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x96,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfmaddsub132ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x96,0xf4                         ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0x96,0xf4                         ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0x96,0xf4                         ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0x96,0xf4                         ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0x96,0xf4                         ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x96,0x31                         ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x96,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x96,0x31                         ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x96,0x72,0x7f                    ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x96,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x96,0x72,0x80                    ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x96,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x96,0x72,0x7f                    ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x96,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x96,0x72,0x80                    ], 'MODE64');
TEST('vfmaddsub132ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x96,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfmaddsub213pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0xa6,0xf4                         ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0xa6,0xf4                         ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0xa6,0xf4                         ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0xa6,0xf4                         ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0xa6,0xf4                         ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0xa6,0x31                         ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0xa6,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0xa6,0x31                         ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0xa6,0x72,0x7f                    ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0xa6,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0xa6,0x72,0x80                    ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0xa6,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0xa6,0x72,0x7f                    ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0xa6,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0xa6,0x72,0x80                    ], 'MODE64');
TEST('vfmaddsub213pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0xa6,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfmaddsub213ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0xa6,0xf4                         ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0xa6,0xf4                         ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0xa6,0xf4                         ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0xa6,0xf4                         ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0xa6,0xf4                         ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0xa6,0x31                         ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0xa6,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0xa6,0x31                         ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0xa6,0x72,0x7f                    ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0xa6,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0xa6,0x72,0x80                    ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0xa6,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0xa6,0x72,0x7f                    ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0xa6,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0xa6,0x72,0x80                    ], 'MODE64');
TEST('vfmaddsub213ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0xa6,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfmaddsub231pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0xb6,0xf4                         ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0xb6,0xf4                         ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0xb6,0xf4                         ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0xb6,0xf4                         ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0xb6,0xf4                         ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0xb6,0x31                         ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0xb6,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0xb6,0x31                         ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0xb6,0x72,0x7f                    ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0xb6,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0xb6,0x72,0x80                    ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0xb6,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0xb6,0x72,0x7f                    ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0xb6,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0xb6,0x72,0x80                    ], 'MODE64');
TEST('vfmaddsub231pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0xb6,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfmaddsub231ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0xb6,0xf4                         ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0xb6,0xf4                         ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0xb6,0xf4                         ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0xb6,0xf4                         ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0xb6,0xf4                         ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0xb6,0x31                         ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0xb6,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0xb6,0x31                         ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0xb6,0x72,0x7f                    ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0xb6,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0xb6,0x72,0x80                    ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0xb6,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0xb6,0x72,0x7f                    ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0xb6,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0xb6,0x72,0x80                    ], 'MODE64');
TEST('vfmaddsub231ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0xb6,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfmsub132pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x9a,0xf4                         ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0x9a,0xf4                         ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0x9a,0xf4                         ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0x9a,0xf4                         ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0x9a,0xf4                         ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x9a,0x31                         ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x9a,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x9a,0x31                         ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x9a,0x72,0x7f                    ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x9a,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x9a,0x72,0x80                    ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x9a,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x9a,0x72,0x7f                    ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x9a,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x9a,0x72,0x80                    ], 'MODE64');
TEST('vfmsub132pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x9a,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfmsub132ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x9a,0xf4                         ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0x9a,0xf4                         ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0x9a,0xf4                         ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0x9a,0xf4                         ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0x9a,0xf4                         ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x9a,0x31                         ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x9a,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x9a,0x31                         ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x9a,0x72,0x7f                    ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x9a,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x9a,0x72,0x80                    ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x9a,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x9a,0x72,0x7f                    ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x9a,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x9a,0x72,0x80                    ], 'MODE64');
TEST('vfmsub132ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x9a,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfmsub213pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0xaa,0xf4                         ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0xaa,0xf4                         ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0xaa,0xf4                         ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0xaa,0xf4                         ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0xaa,0xf4                         ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0xaa,0x31                         ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0xaa,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0xaa,0x31                         ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0xaa,0x72,0x7f                    ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0xaa,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0xaa,0x72,0x80                    ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0xaa,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0xaa,0x72,0x7f                    ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0xaa,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0xaa,0x72,0x80                    ], 'MODE64');
TEST('vfmsub213pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0xaa,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfmsub213ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0xaa,0xf4                         ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0xaa,0xf4                         ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0xaa,0xf4                         ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0xaa,0xf4                         ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0xaa,0xf4                         ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0xaa,0x31                         ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0xaa,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0xaa,0x31                         ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0xaa,0x72,0x7f                    ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0xaa,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0xaa,0x72,0x80                    ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0xaa,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0xaa,0x72,0x7f                    ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0xaa,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0xaa,0x72,0x80                    ], 'MODE64');
TEST('vfmsub213ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0xaa,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfmsub231pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0xba,0xf4                         ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0xba,0xf4                         ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0xba,0xf4                         ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0xba,0xf4                         ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0xba,0xf4                         ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0xba,0x31                         ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0xba,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0xba,0x31                         ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0xba,0x72,0x7f                    ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0xba,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0xba,0x72,0x80                    ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0xba,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0xba,0x72,0x7f                    ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0xba,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0xba,0x72,0x80                    ], 'MODE64');
TEST('vfmsub231pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0xba,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfmsub231ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0xba,0xf4                         ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0xba,0xf4                         ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0xba,0xf4                         ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0xba,0xf4                         ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0xba,0xf4                         ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0xba,0x31                         ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0xba,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0xba,0x31                         ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0xba,0x72,0x7f                    ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0xba,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0xba,0x72,0x80                    ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0xba,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0xba,0x72,0x7f                    ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0xba,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0xba,0x72,0x80                    ], 'MODE64');
TEST('vfmsub231ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0xba,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfmsubadd132pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x97,0xf4                         ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0x97,0xf4                         ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0x97,0xf4                         ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0x97,0xf4                         ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0x97,0xf4                         ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x97,0x31                         ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x97,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x97,0x31                         ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x97,0x72,0x7f                    ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x97,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x97,0x72,0x80                    ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x97,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x97,0x72,0x7f                    ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x97,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x97,0x72,0x80                    ], 'MODE64');
TEST('vfmsubadd132pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x97,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfmsubadd132ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x97,0xf4                         ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0x97,0xf4                         ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0x97,0xf4                         ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0x97,0xf4                         ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0x97,0xf4                         ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x97,0x31                         ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x97,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x97,0x31                         ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x97,0x72,0x7f                    ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x97,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x97,0x72,0x80                    ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x97,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x97,0x72,0x7f                    ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x97,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x97,0x72,0x80                    ], 'MODE64');
TEST('vfmsubadd132ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x97,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfmsubadd213pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0xa7,0xf4                         ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0xa7,0xf4                         ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0xa7,0xf4                         ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0xa7,0xf4                         ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0xa7,0xf4                         ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0xa7,0x31                         ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0xa7,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0xa7,0x31                         ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0xa7,0x72,0x7f                    ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0xa7,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0xa7,0x72,0x80                    ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0xa7,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0xa7,0x72,0x7f                    ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0xa7,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0xa7,0x72,0x80                    ], 'MODE64');
TEST('vfmsubadd213pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0xa7,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfmsubadd213ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0xa7,0xf4                         ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0xa7,0xf4                         ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0xa7,0xf4                         ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0xa7,0xf4                         ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0xa7,0xf4                         ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0xa7,0x31                         ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0xa7,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0xa7,0x31                         ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0xa7,0x72,0x7f                    ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0xa7,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0xa7,0x72,0x80                    ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0xa7,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0xa7,0x72,0x7f                    ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0xa7,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0xa7,0x72,0x80                    ], 'MODE64');
TEST('vfmsubadd213ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0xa7,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfmsubadd231pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0xb7,0xf4                         ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0xb7,0xf4                         ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0xb7,0xf4                         ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0xb7,0xf4                         ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0xb7,0xf4                         ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0xb7,0x31                         ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0xb7,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0xb7,0x31                         ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0xb7,0x72,0x7f                    ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0xb7,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0xb7,0x72,0x80                    ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0xb7,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0xb7,0x72,0x7f                    ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0xb7,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0xb7,0x72,0x80                    ], 'MODE64');
TEST('vfmsubadd231pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0xb7,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfmsubadd231ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0xb7,0xf4                         ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0xb7,0xf4                         ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0xb7,0xf4                         ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0xb7,0xf4                         ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0xb7,0xf4                         ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0xb7,0x31                         ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0xb7,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0xb7,0x31                         ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0xb7,0x72,0x7f                    ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0xb7,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0xb7,0x72,0x80                    ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0xb7,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0xb7,0x72,0x7f                    ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0xb7,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0xb7,0x72,0x80                    ], 'MODE64');
TEST('vfmsubadd231ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0xb7,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfnmadd132pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x9c,0xf4                         ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0x9c,0xf4                         ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0x9c,0xf4                         ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0x9c,0xf4                         ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0x9c,0xf4                         ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x9c,0x31                         ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x9c,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x9c,0x31                         ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x9c,0x72,0x7f                    ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x9c,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x9c,0x72,0x80                    ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x9c,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x9c,0x72,0x7f                    ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x9c,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x9c,0x72,0x80                    ], 'MODE64');
TEST('vfnmadd132pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x9c,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfnmadd132ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x9c,0xf4                         ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0x9c,0xf4                         ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0x9c,0xf4                         ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0x9c,0xf4                         ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0x9c,0xf4                         ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x9c,0x31                         ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x9c,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x9c,0x31                         ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x9c,0x72,0x7f                    ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x9c,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x9c,0x72,0x80                    ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x9c,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x9c,0x72,0x7f                    ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x9c,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x9c,0x72,0x80                    ], 'MODE64');
TEST('vfnmadd132ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x9c,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfnmadd213pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0xac,0xf4                         ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0xac,0xf4                         ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0xac,0xf4                         ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0xac,0xf4                         ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0xac,0xf4                         ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0xac,0x31                         ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0xac,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0xac,0x31                         ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0xac,0x72,0x7f                    ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0xac,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0xac,0x72,0x80                    ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0xac,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0xac,0x72,0x7f                    ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0xac,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0xac,0x72,0x80                    ], 'MODE64');
TEST('vfnmadd213pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0xac,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfnmadd213ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0xac,0xf4                         ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0xac,0xf4                         ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0xac,0xf4                         ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0xac,0xf4                         ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0xac,0xf4                         ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0xac,0x31                         ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0xac,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0xac,0x31                         ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0xac,0x72,0x7f                    ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0xac,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0xac,0x72,0x80                    ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0xac,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0xac,0x72,0x7f                    ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0xac,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0xac,0x72,0x80                    ], 'MODE64');
TEST('vfnmadd213ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0xac,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfnmadd231pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0xbc,0xf4                         ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0xbc,0xf4                         ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0xbc,0xf4                         ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0xbc,0xf4                         ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0xbc,0xf4                         ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0xbc,0x31                         ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0xbc,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0xbc,0x31                         ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0xbc,0x72,0x7f                    ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0xbc,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0xbc,0x72,0x80                    ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0xbc,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0xbc,0x72,0x7f                    ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0xbc,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0xbc,0x72,0x80                    ], 'MODE64');
TEST('vfnmadd231pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0xbc,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfnmadd231ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0xbc,0xf4                         ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0xbc,0xf4                         ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0xbc,0xf4                         ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0xbc,0xf4                         ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0xbc,0xf4                         ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0xbc,0x31                         ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0xbc,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0xbc,0x31                         ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0xbc,0x72,0x7f                    ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0xbc,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0xbc,0x72,0x80                    ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0xbc,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0xbc,0x72,0x7f                    ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0xbc,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0xbc,0x72,0x80                    ], 'MODE64');
TEST('vfnmadd231ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0xbc,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfnmsub132pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x9e,0xf4                         ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0x9e,0xf4                         ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0x9e,0xf4                         ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0x9e,0xf4                         ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0x9e,0xf4                         ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x9e,0x31                         ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x9e,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x9e,0x31                         ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x9e,0x72,0x7f                    ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x9e,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x9e,0x72,0x80                    ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x9e,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x9e,0x72,0x7f                    ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x9e,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x9e,0x72,0x80                    ], 'MODE64');
TEST('vfnmsub132pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x9e,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfnmsub132ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x9e,0xf4                         ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0x9e,0xf4                         ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0x9e,0xf4                         ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0x9e,0xf4                         ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0x9e,0xf4                         ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x9e,0x31                         ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x9e,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x9e,0x31                         ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x9e,0x72,0x7f                    ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x9e,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x9e,0x72,0x80                    ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x9e,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x9e,0x72,0x7f                    ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x9e,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x9e,0x72,0x80                    ], 'MODE64');
TEST('vfnmsub132ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x9e,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfnmsub213pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0xae,0xf4                         ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0xae,0xf4                         ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0xae,0xf4                         ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0xae,0xf4                         ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0xae,0xf4                         ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0xae,0x31                         ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0xae,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0xae,0x31                         ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0xae,0x72,0x7f                    ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0xae,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0xae,0x72,0x80                    ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0xae,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0xae,0x72,0x7f                    ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0xae,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0xae,0x72,0x80                    ], 'MODE64');
TEST('vfnmsub213pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0xae,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfnmsub213ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0xae,0xf4                         ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0xae,0xf4                         ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0xae,0xf4                         ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0xae,0xf4                         ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0xae,0xf4                         ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0xae,0x31                         ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0xae,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0xae,0x31                         ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0xae,0x72,0x7f                    ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0xae,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0xae,0x72,0x80                    ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0xae,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0xae,0x72,0x7f                    ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0xae,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0xae,0x72,0x80                    ], 'MODE64');
TEST('vfnmsub213ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0xae,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vfnmsub231pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0xbe,0xf4                         ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0xbe,0xf4                         ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0xbe,0xf4                         ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0xbe,0xf4                         ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0xbe,0xf4                         ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0xbe,0x31                         ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0xbe,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0xbe,0x31                         ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0xbe,0x72,0x7f                    ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0xbe,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0xbe,0x72,0x80                    ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0xbe,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0xbe,0x72,0x7f                    ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0xbe,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0xbe,0x72,0x80                    ], 'MODE64');
TEST('vfnmsub231pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0xbe,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vfnmsub231ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0xbe,0xf4                         ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0xbe,0xf4                         ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0xbe,0xf4                         ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0xbe,0xf4                         ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0xbe,0xf4                         ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0xbe,0x31                         ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0xbe,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0xbe,0x31                         ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0xbe,0x72,0x7f                    ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0xbe,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0xbe,0x72,0x80                    ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0xbe,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0xbe,0x72,0x7f                    ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0xbe,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0xbe,0x72,0x80                    ], 'MODE64');
TEST('vfnmsub231ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0xbe,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vgetexppd zmm30, zmm29                  ', [0x62,0x02,0xfd,0x48,0x42,0xf5                         ], 'MODE64');
TEST('vgetexppd zmm30, zmm29, {sae}           ', [0x62,0x02,0xfd,0x18,0x42,0xf5                         ], 'MODE64');
TEST('vgetexppd zmm30, zword [rcx]            ', [0x62,0x62,0xfd,0x48,0x42,0x31                         ], 'MODE64');
TEST('vgetexppd zmm30, zword [rax+r14*8+0x123]', [0x62,0x22,0xfd,0x48,0x42,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vgetexppd zmm30, qword [rcx]{1to8}      ', [0x62,0x62,0xfd,0x58,0x42,0x31                         ], 'MODE64');
TEST('vgetexppd zmm30, zword [rdx+0x1fc0]     ', [0x62,0x62,0xfd,0x48,0x42,0x72,0x7f                    ], 'MODE64');
TEST('vgetexppd zmm30, zword [rdx+0x2000]     ', [0x62,0x62,0xfd,0x48,0x42,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vgetexppd zmm30, zword [rdx-0x2000]     ', [0x62,0x62,0xfd,0x48,0x42,0x72,0x80                    ], 'MODE64');
TEST('vgetexppd zmm30, zword [rdx-0x2040]     ', [0x62,0x62,0xfd,0x48,0x42,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vgetexppd zmm30, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0xfd,0x58,0x42,0x72,0x7f                    ], 'MODE64');
TEST('vgetexppd zmm30, qword [rdx+0x400]{1to8}', [0x62,0x62,0xfd,0x58,0x42,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vgetexppd zmm30, qword [rdx-0x400]{1to8}', [0x62,0x62,0xfd,0x58,0x42,0x72,0x80                    ], 'MODE64');
TEST('vgetexppd zmm30, qword [rdx-0x408]{1to8}', [0x62,0x62,0xfd,0x58,0x42,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vgetexpps zmm30, zmm29                   ', [0x62,0x02,0x7d,0x48,0x42,0xf5                         ], 'MODE64');
TEST('vgetexpps zmm30, zmm29, {sae}            ', [0x62,0x02,0x7d,0x18,0x42,0xf5                         ], 'MODE64');
TEST('vgetexpps zmm30, zword [rcx]             ', [0x62,0x62,0x7d,0x48,0x42,0x31                         ], 'MODE64');
TEST('vgetexpps zmm30, zword [rax+r14*8+0x123] ', [0x62,0x22,0x7d,0x48,0x42,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vgetexpps zmm30, dword [rcx]{1to16}      ', [0x62,0x62,0x7d,0x58,0x42,0x31                         ], 'MODE64');
TEST('vgetexpps zmm30, zword [rdx+0x1fc0]      ', [0x62,0x62,0x7d,0x48,0x42,0x72,0x7f                    ], 'MODE64');
TEST('vgetexpps zmm30, zword [rdx+0x2000]      ', [0x62,0x62,0x7d,0x48,0x42,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vgetexpps zmm30, zword [rdx-0x2000]      ', [0x62,0x62,0x7d,0x48,0x42,0x72,0x80                    ], 'MODE64');
TEST('vgetexpps zmm30, zword [rdx-0x2040]      ', [0x62,0x62,0x7d,0x48,0x42,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vgetexpps zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x7d,0x58,0x42,0x72,0x7f                    ], 'MODE64');
TEST('vgetexpps zmm30, dword [rdx+0x200]{1to16}', [0x62,0x62,0x7d,0x58,0x42,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vgetexpps zmm30, dword [rdx-0x200]{1to16}', [0x62,0x62,0x7d,0x58,0x42,0x72,0x80                    ], 'MODE64');
TEST('vgetexpps zmm30, dword [rdx-0x204]{1to16}', [0x62,0x62,0x7d,0x58,0x42,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vgetmantpd zmm30, zmm29, 171                  ', [0x62,0x03,0xfd,0x48,0x26,0xf5,0xab                         ], 'MODE64');
TEST('vgetmantpd zmm30, zmm29, 123                  ', [0x62,0x03,0xfd,0x48,0x26,0xf5,0x7b                         ], 'MODE64');
TEST('vgetmantpd zmm30, zword [rcx], 123            ', [0x62,0x63,0xfd,0x48,0x26,0x31,0x7b                         ], 'MODE64');
TEST('vgetmantpd zmm30, zword [rax+r14*8+0x123], 123', [0x62,0x23,0xfd,0x48,0x26,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vgetmantpd zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0xfd,0x48,0x26,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vgetmantpd zmm30, zword [rdx+0x2000], 123     ', [0x62,0x63,0xfd,0x48,0x26,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vgetmantpd zmm30, zword [rdx-0x2000], 123     ', [0x62,0x63,0xfd,0x48,0x26,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vgetmantpd zmm30, zword [rdx-0x2040], 123     ', [0x62,0x63,0xfd,0x48,0x26,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vgetmantps zmm30, zmm29, 171                  ', [0x62,0x03,0x7d,0x48,0x26,0xf5,0xab                         ], 'MODE64');
TEST('vgetmantps zmm30, zmm29, 123                  ', [0x62,0x03,0x7d,0x48,0x26,0xf5,0x7b                         ], 'MODE64');
TEST('vgetmantps zmm30, zword [rcx], 123            ', [0x62,0x63,0x7d,0x48,0x26,0x31,0x7b                         ], 'MODE64');
TEST('vgetmantps zmm30, zword [rax+r14*8+0x123], 123', [0x62,0x23,0x7d,0x48,0x26,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vgetmantps zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0x7d,0x48,0x26,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vgetmantps zmm30, zword [rdx+0x2000], 123     ', [0x62,0x63,0x7d,0x48,0x26,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vgetmantps zmm30, zword [rdx-0x2000], 123     ', [0x62,0x63,0x7d,0x48,0x26,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vgetmantps zmm30, zword [rdx-0x2040], 123     ', [0x62,0x63,0x7d,0x48,0x26,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vmaxpd zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0x5f,0xf4                         ], 'MODE64');
TEST('vmaxpd zmm30, zmm29, zmm28, {sae}           ', [0x62,0x01,0x95,0x10,0x5f,0xf4                         ], 'MODE64');
TEST('vmaxpd zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0x5f,0x31                         ], 'MODE64');
TEST('vmaxpd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0x5f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmaxpd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0x5f,0x31                         ], 'MODE64');
TEST('vmaxpd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0x5f,0x72,0x7f                    ], 'MODE64');
TEST('vmaxpd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0x5f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmaxpd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0x5f,0x72,0x80                    ], 'MODE64');
TEST('vmaxpd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0x5f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vmaxpd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0x5f,0x72,0x7f                    ], 'MODE64');
TEST('vmaxpd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0x5f,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vmaxpd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0x5f,0x72,0x80                    ], 'MODE64');
TEST('vmaxpd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0x5f,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vmaxps zmm30, zmm29, zmm28                   ', [0x62,0x01,0x14,0x40,0x5f,0xf4                         ], 'MODE64');
TEST('vmaxps zmm30, zmm29, zmm28, {sae}            ', [0x62,0x01,0x14,0x10,0x5f,0xf4                         ], 'MODE64');
TEST('vmaxps zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x14,0x40,0x5f,0x31                         ], 'MODE64');
TEST('vmaxps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x14,0x40,0x5f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmaxps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x14,0x50,0x5f,0x31                         ], 'MODE64');
TEST('vmaxps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x14,0x40,0x5f,0x72,0x7f                    ], 'MODE64');
TEST('vmaxps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x14,0x40,0x5f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmaxps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x14,0x40,0x5f,0x72,0x80                    ], 'MODE64');
TEST('vmaxps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x14,0x40,0x5f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vmaxps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x14,0x50,0x5f,0x72,0x7f                    ], 'MODE64');
TEST('vmaxps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x14,0x50,0x5f,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vmaxps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x14,0x50,0x5f,0x72,0x80                    ], 'MODE64');
TEST('vmaxps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x14,0x50,0x5f,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vminpd zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0x5d,0xf4                         ], 'MODE64');
TEST('vminpd zmm30, zmm29, zmm28, {sae}           ', [0x62,0x01,0x95,0x10,0x5d,0xf4                         ], 'MODE64');
TEST('vminpd zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0x5d,0x31                         ], 'MODE64');
TEST('vminpd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0x5d,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vminpd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0x5d,0x31                         ], 'MODE64');
TEST('vminpd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0x5d,0x72,0x7f                    ], 'MODE64');
TEST('vminpd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0x5d,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vminpd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0x5d,0x72,0x80                    ], 'MODE64');
TEST('vminpd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0x5d,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vminpd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0x5d,0x72,0x7f                    ], 'MODE64');
TEST('vminpd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0x5d,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vminpd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0x5d,0x72,0x80                    ], 'MODE64');
TEST('vminpd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0x5d,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vminps zmm30, zmm29, zmm28                   ', [0x62,0x01,0x14,0x40,0x5d,0xf4                         ], 'MODE64');
TEST('vminps zmm30, zmm29, zmm28, {sae}            ', [0x62,0x01,0x14,0x10,0x5d,0xf4                         ], 'MODE64');
TEST('vminps zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x14,0x40,0x5d,0x31                         ], 'MODE64');
TEST('vminps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x14,0x40,0x5d,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vminps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x14,0x50,0x5d,0x31                         ], 'MODE64');
TEST('vminps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x14,0x40,0x5d,0x72,0x7f                    ], 'MODE64');
TEST('vminps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x14,0x40,0x5d,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vminps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x14,0x40,0x5d,0x72,0x80                    ], 'MODE64');
TEST('vminps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x14,0x40,0x5d,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vminps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x14,0x50,0x5d,0x72,0x7f                    ], 'MODE64');
TEST('vminps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x14,0x50,0x5d,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vminps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x14,0x50,0x5d,0x72,0x80                    ], 'MODE64');
TEST('vminps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x14,0x50,0x5d,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vmovapd zmm30, zmm29                  ', [0x62,0x01,0xfd,0x48,0x28,0xf5                         ], 'MODE64');
TEST('vmovapd zmm30, zword [rcx]            ', [0x62,0x61,0xfd,0x48,0x28,0x31                         ], 'MODE64');
TEST('vmovapd zmm30, zword [rax+r14*8+0x123]', [0x62,0x21,0xfd,0x48,0x28,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovapd zmm30, zword [rdx+0x1fc0]     ', [0x62,0x61,0xfd,0x48,0x28,0x72,0x7f                    ], 'MODE64');
TEST('vmovapd zmm30, zword [rdx+0x2000]     ', [0x62,0x61,0xfd,0x48,0x28,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovapd zmm30, zword [rdx-0x2000]     ', [0x62,0x61,0xfd,0x48,0x28,0x72,0x80                    ], 'MODE64');
TEST('vmovapd zmm30, zword [rdx-0x2040]     ', [0x62,0x61,0xfd,0x48,0x28,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vmovapd zword [rcx], zmm30            ', [0x62,0x61,0xfd,0x48,0x29,0x31                         ], 'MODE64');
TEST('vmovapd zword [rax+r14*8+0x123], zmm30', [0x62,0x21,0xfd,0x48,0x29,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovapd zword [rdx+0x1fc0], zmm30     ', [0x62,0x61,0xfd,0x48,0x29,0x72,0x7f                    ], 'MODE64');
TEST('vmovapd zword [rdx+0x2000], zmm30     ', [0x62,0x61,0xfd,0x48,0x29,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovapd zword [rdx-0x2000], zmm30     ', [0x62,0x61,0xfd,0x48,0x29,0x72,0x80                    ], 'MODE64');
TEST('vmovapd zword [rdx-0x2040], zmm30     ', [0x62,0x61,0xfd,0x48,0x29,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovaps zmm30, zmm29                  ', [0x62,0x01,0x7c,0x48,0x28,0xf5                         ], 'MODE64');
TEST('vmovaps zmm30, zword [rcx]            ', [0x62,0x61,0x7c,0x48,0x28,0x31                         ], 'MODE64');
TEST('vmovaps zmm30, zword [rax+r14*8+0x123]', [0x62,0x21,0x7c,0x48,0x28,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovaps zmm30, zword [rdx+0x1fc0]     ', [0x62,0x61,0x7c,0x48,0x28,0x72,0x7f                    ], 'MODE64');
TEST('vmovaps zmm30, zword [rdx+0x2000]     ', [0x62,0x61,0x7c,0x48,0x28,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovaps zmm30, zword [rdx-0x2000]     ', [0x62,0x61,0x7c,0x48,0x28,0x72,0x80                    ], 'MODE64');
TEST('vmovaps zmm30, zword [rdx-0x2040]     ', [0x62,0x61,0x7c,0x48,0x28,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vmovaps zword [rcx], zmm30            ', [0x62,0x61,0x7c,0x48,0x29,0x31                         ], 'MODE64');
TEST('vmovaps zword [rax+r14*8+0x123], zmm30', [0x62,0x21,0x7c,0x48,0x29,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovaps zword [rdx+0x1fc0], zmm30     ', [0x62,0x61,0x7c,0x48,0x29,0x72,0x7f                    ], 'MODE64');
TEST('vmovaps zword [rdx+0x2000], zmm30     ', [0x62,0x61,0x7c,0x48,0x29,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovaps zword [rdx-0x2000], zmm30     ', [0x62,0x61,0x7c,0x48,0x29,0x72,0x80                    ], 'MODE64');
TEST('vmovaps zword [rdx-0x2040], zmm30     ', [0x62,0x61,0x7c,0x48,0x29,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovddup zmm30, zmm29                  ', [0x62,0x01,0xff,0x48,0x12,0xf5                         ], 'MODE64');
TEST('vmovddup zmm30, zword [rcx]            ', [0x62,0x61,0xff,0x48,0x12,0x31                         ], 'MODE64');
TEST('vmovddup zmm30, zword [rax+r14*8+0x123]', [0x62,0x21,0xff,0x48,0x12,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovddup zmm30, zword [rdx+0x1fc0]     ', [0x62,0x61,0xff,0x48,0x12,0x72,0x7f                    ], 'MODE64');
TEST('vmovddup zmm30, zword [rdx+0x2000]     ', [0x62,0x61,0xff,0x48,0x12,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovddup zmm30, zword [rdx-0x2000]     ', [0x62,0x61,0xff,0x48,0x12,0x72,0x80                    ], 'MODE64');
TEST('vmovddup zmm30, zword [rdx-0x2040]     ', [0x62,0x61,0xff,0x48,0x12,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovdqa32 zmm30, zmm29                  ', [0x62,0x01,0x7d,0x48,0x6f,0xf5                         ], 'MODE64');
TEST('vmovdqa32 zmm30, zword [rcx]            ', [0x62,0x61,0x7d,0x48,0x6f,0x31                         ], 'MODE64');
TEST('vmovdqa32 zmm30, zword [rax+r14*8+0x123]', [0x62,0x21,0x7d,0x48,0x6f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovdqa32 zmm30, zword [rdx+0x1fc0]     ', [0x62,0x61,0x7d,0x48,0x6f,0x72,0x7f                    ], 'MODE64');
TEST('vmovdqa32 zmm30, zword [rdx+0x2000]     ', [0x62,0x61,0x7d,0x48,0x6f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovdqa32 zmm30, zword [rdx-0x2000]     ', [0x62,0x61,0x7d,0x48,0x6f,0x72,0x80                    ], 'MODE64');
TEST('vmovdqa32 zmm30, zword [rdx-0x2040]     ', [0x62,0x61,0x7d,0x48,0x6f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vmovdqa32 zword [rcx], zmm30            ', [0x62,0x61,0x7d,0x48,0x7f,0x31                         ], 'MODE64');
TEST('vmovdqa32 zword [rax+r14*8+0x123], zmm30', [0x62,0x21,0x7d,0x48,0x7f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovdqa32 zword [rdx+0x1fc0], zmm30     ', [0x62,0x61,0x7d,0x48,0x7f,0x72,0x7f                    ], 'MODE64');
TEST('vmovdqa32 zword [rdx+0x2000], zmm30     ', [0x62,0x61,0x7d,0x48,0x7f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovdqa32 zword [rdx-0x2000], zmm30     ', [0x62,0x61,0x7d,0x48,0x7f,0x72,0x80                    ], 'MODE64');
TEST('vmovdqa32 zword [rdx-0x2040], zmm30     ', [0x62,0x61,0x7d,0x48,0x7f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovdqa64 zmm30, zmm29                  ', [0x62,0x01,0xfd,0x48,0x6f,0xf5                         ], 'MODE64');
TEST('vmovdqa64 zmm30, zword [rcx]            ', [0x62,0x61,0xfd,0x48,0x6f,0x31                         ], 'MODE64');
TEST('vmovdqa64 zmm30, zword [rax+r14*8+0x123]', [0x62,0x21,0xfd,0x48,0x6f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovdqa64 zmm30, zword [rdx+0x1fc0]     ', [0x62,0x61,0xfd,0x48,0x6f,0x72,0x7f                    ], 'MODE64');
TEST('vmovdqa64 zmm30, zword [rdx+0x2000]     ', [0x62,0x61,0xfd,0x48,0x6f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovdqa64 zmm30, zword [rdx-0x2000]     ', [0x62,0x61,0xfd,0x48,0x6f,0x72,0x80                    ], 'MODE64');
TEST('vmovdqa64 zmm30, zword [rdx-0x2040]     ', [0x62,0x61,0xfd,0x48,0x6f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vmovdqa64 zword [rcx], zmm30            ', [0x62,0x61,0xfd,0x48,0x7f,0x31                         ], 'MODE64');
TEST('vmovdqa64 zword [rax+r14*8+0x123], zmm30', [0x62,0x21,0xfd,0x48,0x7f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovdqa64 zword [rdx+0x1fc0], zmm30     ', [0x62,0x61,0xfd,0x48,0x7f,0x72,0x7f                    ], 'MODE64');
TEST('vmovdqa64 zword [rdx+0x2000], zmm30     ', [0x62,0x61,0xfd,0x48,0x7f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovdqa64 zword [rdx-0x2000], zmm30     ', [0x62,0x61,0xfd,0x48,0x7f,0x72,0x80                    ], 'MODE64');
TEST('vmovdqa64 zword [rdx-0x2040], zmm30     ', [0x62,0x61,0xfd,0x48,0x7f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovdqu32 zmm30, zmm29                  ', [0x62,0x01,0x7e,0x48,0x6f,0xf5                         ], 'MODE64');
TEST('vmovdqu32 zmm30, zword [rcx]            ', [0x62,0x61,0x7e,0x48,0x6f,0x31                         ], 'MODE64');
TEST('vmovdqu32 zmm30, zword [rax+r14*8+0x123]', [0x62,0x21,0x7e,0x48,0x6f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovdqu32 zmm30, zword [rdx+0x1fc0]     ', [0x62,0x61,0x7e,0x48,0x6f,0x72,0x7f                    ], 'MODE64');
TEST('vmovdqu32 zmm30, zword [rdx+0x2000]     ', [0x62,0x61,0x7e,0x48,0x6f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovdqu32 zmm30, zword [rdx-0x2000]     ', [0x62,0x61,0x7e,0x48,0x6f,0x72,0x80                    ], 'MODE64');
TEST('vmovdqu32 zmm30, zword [rdx-0x2040]     ', [0x62,0x61,0x7e,0x48,0x6f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vmovdqu32 zword [rcx], zmm30            ', [0x62,0x61,0x7e,0x48,0x7f,0x31                         ], 'MODE64');
TEST('vmovdqu32 zword [rax+r14*8+0x123], zmm30', [0x62,0x21,0x7e,0x48,0x7f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovdqu32 zword [rdx+0x1fc0], zmm30     ', [0x62,0x61,0x7e,0x48,0x7f,0x72,0x7f                    ], 'MODE64');
TEST('vmovdqu32 zword [rdx+0x2000], zmm30     ', [0x62,0x61,0x7e,0x48,0x7f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovdqu32 zword [rdx-0x2000], zmm30     ', [0x62,0x61,0x7e,0x48,0x7f,0x72,0x80                    ], 'MODE64');
TEST('vmovdqu32 zword [rdx-0x2040], zmm30     ', [0x62,0x61,0x7e,0x48,0x7f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovdqu64 zmm30, zmm29                  ', [0x62,0x01,0xfe,0x48,0x6f,0xf5                         ], 'MODE64');
TEST('vmovdqu64 zmm30, zword [rcx]            ', [0x62,0x61,0xfe,0x48,0x6f,0x31                         ], 'MODE64');
TEST('vmovdqu64 zmm30, zword [rax+r14*8+0x123]', [0x62,0x21,0xfe,0x48,0x6f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovdqu64 zmm30, zword [rdx+0x1fc0]     ', [0x62,0x61,0xfe,0x48,0x6f,0x72,0x7f                    ], 'MODE64');
TEST('vmovdqu64 zmm30, zword [rdx+0x2000]     ', [0x62,0x61,0xfe,0x48,0x6f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovdqu64 zmm30, zword [rdx-0x2000]     ', [0x62,0x61,0xfe,0x48,0x6f,0x72,0x80                    ], 'MODE64');
TEST('vmovdqu64 zmm30, zword [rdx-0x2040]     ', [0x62,0x61,0xfe,0x48,0x6f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vmovdqu64 zword [rcx], zmm30            ', [0x62,0x61,0xfe,0x48,0x7f,0x31                         ], 'MODE64');
TEST('vmovdqu64 zword [rax+r14*8+0x123], zmm30', [0x62,0x21,0xfe,0x48,0x7f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovdqu64 zword [rdx+0x1fc0], zmm30     ', [0x62,0x61,0xfe,0x48,0x7f,0x72,0x7f                    ], 'MODE64');
TEST('vmovdqu64 zword [rdx+0x2000], zmm30     ', [0x62,0x61,0xfe,0x48,0x7f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovdqu64 zword [rdx-0x2000], zmm30     ', [0x62,0x61,0xfe,0x48,0x7f,0x72,0x80                    ], 'MODE64');
TEST('vmovdqu64 zword [rdx-0x2040], zmm30     ', [0x62,0x61,0xfe,0x48,0x7f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovntdq zword [rcx], zmm30            ', [0x62,0x61,0x7d,0x48,0xe7,0x31                         ], 'MODE64');
TEST('vmovntdq zword [rax+r14*8+0x123], zmm30', [0x62,0x21,0x7d,0x48,0xe7,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovntdq zword [rdx+0x1fc0], zmm30     ', [0x62,0x61,0x7d,0x48,0xe7,0x72,0x7f                    ], 'MODE64');
TEST('vmovntdq zword [rdx+0x2000], zmm30     ', [0x62,0x61,0x7d,0x48,0xe7,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovntdq zword [rdx-0x2000], zmm30     ', [0x62,0x61,0x7d,0x48,0xe7,0x72,0x80                    ], 'MODE64');
TEST('vmovntdq zword [rdx-0x2040], zmm30     ', [0x62,0x61,0x7d,0x48,0xe7,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovntdqa zmm30, zword [rcx]            ', [0x62,0x62,0x7d,0x48,0x2a,0x31                         ], 'MODE64');
TEST('vmovntdqa zmm30, zword [rax+r14*8+0x123]', [0x62,0x22,0x7d,0x48,0x2a,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovntdqa zmm30, zword [rdx+0x1fc0]     ', [0x62,0x62,0x7d,0x48,0x2a,0x72,0x7f                    ], 'MODE64');
TEST('vmovntdqa zmm30, zword [rdx+0x2000]     ', [0x62,0x62,0x7d,0x48,0x2a,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovntdqa zmm30, zword [rdx-0x2000]     ', [0x62,0x62,0x7d,0x48,0x2a,0x72,0x80                    ], 'MODE64');
TEST('vmovntdqa zmm30, zword [rdx-0x2040]     ', [0x62,0x62,0x7d,0x48,0x2a,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovntpd zword [rcx], zmm30            ', [0x62,0x61,0xfd,0x48,0x2b,0x31                         ], 'MODE64');
TEST('vmovntpd zword [rax+r14*8+0x123], zmm30', [0x62,0x21,0xfd,0x48,0x2b,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovntpd zword [rdx+0x1fc0], zmm30     ', [0x62,0x61,0xfd,0x48,0x2b,0x72,0x7f                    ], 'MODE64');
TEST('vmovntpd zword [rdx+0x2000], zmm30     ', [0x62,0x61,0xfd,0x48,0x2b,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovntpd zword [rdx-0x2000], zmm30     ', [0x62,0x61,0xfd,0x48,0x2b,0x72,0x80                    ], 'MODE64');
TEST('vmovntpd zword [rdx-0x2040], zmm30     ', [0x62,0x61,0xfd,0x48,0x2b,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovntps zword [rcx], zmm30            ', [0x62,0x61,0x7c,0x48,0x2b,0x31                         ], 'MODE64');
TEST('vmovntps zword [rax+r14*8+0x123], zmm30', [0x62,0x21,0x7c,0x48,0x2b,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovntps zword [rdx+0x1fc0], zmm30     ', [0x62,0x61,0x7c,0x48,0x2b,0x72,0x7f                    ], 'MODE64');
TEST('vmovntps zword [rdx+0x2000], zmm30     ', [0x62,0x61,0x7c,0x48,0x2b,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovntps zword [rdx-0x2000], zmm30     ', [0x62,0x61,0x7c,0x48,0x2b,0x72,0x80                    ], 'MODE64');
TEST('vmovntps zword [rdx-0x2040], zmm30     ', [0x62,0x61,0x7c,0x48,0x2b,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovshdup zmm30, zmm29                  ', [0x62,0x01,0x7e,0x48,0x16,0xf5                         ], 'MODE64');
TEST('vmovshdup zmm30, zword [rcx]            ', [0x62,0x61,0x7e,0x48,0x16,0x31                         ], 'MODE64');
TEST('vmovshdup zmm30, zword [rax+r14*8+0x123]', [0x62,0x21,0x7e,0x48,0x16,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovshdup zmm30, zword [rdx+0x1fc0]     ', [0x62,0x61,0x7e,0x48,0x16,0x72,0x7f                    ], 'MODE64');
TEST('vmovshdup zmm30, zword [rdx+0x2000]     ', [0x62,0x61,0x7e,0x48,0x16,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovshdup zmm30, zword [rdx-0x2000]     ', [0x62,0x61,0x7e,0x48,0x16,0x72,0x80                    ], 'MODE64');
TEST('vmovshdup zmm30, zword [rdx-0x2040]     ', [0x62,0x61,0x7e,0x48,0x16,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovsldup zmm30, zmm29                  ', [0x62,0x01,0x7e,0x48,0x12,0xf5                         ], 'MODE64');
TEST('vmovsldup zmm30, zword [rcx]            ', [0x62,0x61,0x7e,0x48,0x12,0x31                         ], 'MODE64');
TEST('vmovsldup zmm30, zword [rax+r14*8+0x123]', [0x62,0x21,0x7e,0x48,0x12,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovsldup zmm30, zword [rdx+0x1fc0]     ', [0x62,0x61,0x7e,0x48,0x12,0x72,0x7f                    ], 'MODE64');
TEST('vmovsldup zmm30, zword [rdx+0x2000]     ', [0x62,0x61,0x7e,0x48,0x12,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovsldup zmm30, zword [rdx-0x2000]     ', [0x62,0x61,0x7e,0x48,0x12,0x72,0x80                    ], 'MODE64');
TEST('vmovsldup zmm30, zword [rdx-0x2040]     ', [0x62,0x61,0x7e,0x48,0x12,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovupd zmm30, zmm29                  ', [0x62,0x01,0xfd,0x48,0x10,0xf5                         ], 'MODE64');
TEST('vmovupd zmm30, zword [rcx]            ', [0x62,0x61,0xfd,0x48,0x10,0x31                         ], 'MODE64');
TEST('vmovupd zmm30, zword [rax+r14*8+0x123]', [0x62,0x21,0xfd,0x48,0x10,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovupd zmm30, zword [rdx+0x1fc0]     ', [0x62,0x61,0xfd,0x48,0x10,0x72,0x7f                    ], 'MODE64');
TEST('vmovupd zmm30, zword [rdx+0x2000]     ', [0x62,0x61,0xfd,0x48,0x10,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovupd zmm30, zword [rdx-0x2000]     ', [0x62,0x61,0xfd,0x48,0x10,0x72,0x80                    ], 'MODE64');
TEST('vmovupd zmm30, zword [rdx-0x2040]     ', [0x62,0x61,0xfd,0x48,0x10,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vmovupd zword [rcx], zmm30            ', [0x62,0x61,0xfd,0x48,0x11,0x31                         ], 'MODE64');
TEST('vmovupd zword [rax+r14*8+0x123], zmm30', [0x62,0x21,0xfd,0x48,0x11,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovupd zword [rdx+0x1fc0], zmm30     ', [0x62,0x61,0xfd,0x48,0x11,0x72,0x7f                    ], 'MODE64');
TEST('vmovupd zword [rdx+0x2000], zmm30     ', [0x62,0x61,0xfd,0x48,0x11,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovupd zword [rdx-0x2000], zmm30     ', [0x62,0x61,0xfd,0x48,0x11,0x72,0x80                    ], 'MODE64');
TEST('vmovupd zword [rdx-0x2040], zmm30     ', [0x62,0x61,0xfd,0x48,0x11,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmovups zmm30, zmm29                  ', [0x62,0x01,0x7c,0x48,0x10,0xf5                         ], 'MODE64');
TEST('vmovups zmm30, zword [rcx]            ', [0x62,0x61,0x7c,0x48,0x10,0x31                         ], 'MODE64');
TEST('vmovups zmm30, zword [rax+r14*8+0x123]', [0x62,0x21,0x7c,0x48,0x10,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovups zmm30, zword [rdx+0x1fc0]     ', [0x62,0x61,0x7c,0x48,0x10,0x72,0x7f                    ], 'MODE64');
TEST('vmovups zmm30, zword [rdx+0x2000]     ', [0x62,0x61,0x7c,0x48,0x10,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovups zmm30, zword [rdx-0x2000]     ', [0x62,0x61,0x7c,0x48,0x10,0x72,0x80                    ], 'MODE64');
TEST('vmovups zmm30, zword [rdx-0x2040]     ', [0x62,0x61,0x7c,0x48,0x10,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vmovups zword [rcx], zmm30            ', [0x62,0x61,0x7c,0x48,0x11,0x31                         ], 'MODE64');
TEST('vmovups zword [rax+r14*8+0x123], zmm30', [0x62,0x21,0x7c,0x48,0x11,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmovups zword [rdx+0x1fc0], zmm30     ', [0x62,0x61,0x7c,0x48,0x11,0x72,0x7f                    ], 'MODE64');
TEST('vmovups zword [rdx+0x2000], zmm30     ', [0x62,0x61,0x7c,0x48,0x11,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmovups zword [rdx-0x2000], zmm30     ', [0x62,0x61,0x7c,0x48,0x11,0x72,0x80                    ], 'MODE64');
TEST('vmovups zword [rdx-0x2040], zmm30     ', [0x62,0x61,0x7c,0x48,0x11,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');

TEST('vmulpd zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0x59,0xf4                         ], 'MODE64');
TEST('vmulpd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x01,0x95,0x10,0x59,0xf4                         ], 'MODE64');
TEST('vmulpd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x01,0x95,0x50,0x59,0xf4                         ], 'MODE64');
TEST('vmulpd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x01,0x95,0x30,0x59,0xf4                         ], 'MODE64');
TEST('vmulpd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x01,0x95,0x70,0x59,0xf4                         ], 'MODE64');
TEST('vmulpd zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0x59,0x31                         ], 'MODE64');
TEST('vmulpd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0x59,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmulpd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0x59,0x31                         ], 'MODE64');
TEST('vmulpd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0x59,0x72,0x7f                    ], 'MODE64');
TEST('vmulpd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0x59,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmulpd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0x59,0x72,0x80                    ], 'MODE64');
TEST('vmulpd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0x59,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vmulpd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0x59,0x72,0x7f                    ], 'MODE64');
TEST('vmulpd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0x59,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vmulpd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0x59,0x72,0x80                    ], 'MODE64');
TEST('vmulpd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0x59,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vmulps zmm30, zmm29, zmm28                   ', [0x62,0x01,0x14,0x40,0x59,0xf4                         ], 'MODE64');
TEST('vmulps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x01,0x14,0x10,0x59,0xf4                         ], 'MODE64');
TEST('vmulps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x01,0x14,0x50,0x59,0xf4                         ], 'MODE64');
TEST('vmulps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x01,0x14,0x30,0x59,0xf4                         ], 'MODE64');
TEST('vmulps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x01,0x14,0x70,0x59,0xf4                         ], 'MODE64');
TEST('vmulps zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x14,0x40,0x59,0x31                         ], 'MODE64');
TEST('vmulps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x14,0x40,0x59,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vmulps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x14,0x50,0x59,0x31                         ], 'MODE64');
TEST('vmulps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x14,0x40,0x59,0x72,0x7f                    ], 'MODE64');
TEST('vmulps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x14,0x40,0x59,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vmulps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x14,0x40,0x59,0x72,0x80                    ], 'MODE64');
TEST('vmulps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x14,0x40,0x59,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vmulps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x14,0x50,0x59,0x72,0x7f                    ], 'MODE64');
TEST('vmulps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x14,0x50,0x59,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vmulps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x14,0x50,0x59,0x72,0x80                    ], 'MODE64');
TEST('vmulps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x14,0x50,0x59,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpabsd zmm30, zmm29                   ', [0x62,0x02,0x7d,0x48,0x1e,0xf5                         ], 'MODE64');
TEST('vpabsd zmm30, zword [rcx]             ', [0x62,0x62,0x7d,0x48,0x1e,0x31                         ], 'MODE64');
TEST('vpabsd zmm30, zword [rax+r14*8+0x123] ', [0x62,0x22,0x7d,0x48,0x1e,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpabsd zmm30, dword [rcx]{1to16}      ', [0x62,0x62,0x7d,0x58,0x1e,0x31                         ], 'MODE64');
TEST('vpabsd zmm30, zword [rdx+0x1fc0]      ', [0x62,0x62,0x7d,0x48,0x1e,0x72,0x7f                    ], 'MODE64');
TEST('vpabsd zmm30, zword [rdx+0x2000]      ', [0x62,0x62,0x7d,0x48,0x1e,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpabsd zmm30, zword [rdx-0x2000]      ', [0x62,0x62,0x7d,0x48,0x1e,0x72,0x80                    ], 'MODE64');
TEST('vpabsd zmm30, zword [rdx-0x2040]      ', [0x62,0x62,0x7d,0x48,0x1e,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpabsd zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x7d,0x58,0x1e,0x72,0x7f                    ], 'MODE64');
TEST('vpabsd zmm30, dword [rdx+0x200]{1to16}', [0x62,0x62,0x7d,0x58,0x1e,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpabsd zmm30, dword [rdx-0x200]{1to16}', [0x62,0x62,0x7d,0x58,0x1e,0x72,0x80                    ], 'MODE64');
TEST('vpabsd zmm30, dword [rdx-0x204]{1to16}', [0x62,0x62,0x7d,0x58,0x1e,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpabsq zmm30, zmm29                  ', [0x62,0x02,0xfd,0x48,0x1f,0xf5                         ], 'MODE64');
TEST('vpabsq zmm30, zword [rcx]            ', [0x62,0x62,0xfd,0x48,0x1f,0x31                         ], 'MODE64');
TEST('vpabsq zmm30, zword [rax+r14*8+0x123]', [0x62,0x22,0xfd,0x48,0x1f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpabsq zmm30, qword [rcx]{1to8}      ', [0x62,0x62,0xfd,0x58,0x1f,0x31                         ], 'MODE64');
TEST('vpabsq zmm30, zword [rdx+0x1fc0]     ', [0x62,0x62,0xfd,0x48,0x1f,0x72,0x7f                    ], 'MODE64');
TEST('vpabsq zmm30, zword [rdx+0x2000]     ', [0x62,0x62,0xfd,0x48,0x1f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpabsq zmm30, zword [rdx-0x2000]     ', [0x62,0x62,0xfd,0x48,0x1f,0x72,0x80                    ], 'MODE64');
TEST('vpabsq zmm30, zword [rdx-0x2040]     ', [0x62,0x62,0xfd,0x48,0x1f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpabsq zmm30, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0xfd,0x58,0x1f,0x72,0x7f                    ], 'MODE64');
TEST('vpabsq zmm30, qword [rdx+0x400]{1to8}', [0x62,0x62,0xfd,0x58,0x1f,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpabsq zmm30, qword [rdx-0x400]{1to8}', [0x62,0x62,0xfd,0x58,0x1f,0x72,0x80                    ], 'MODE64');
TEST('vpabsq zmm30, qword [rdx-0x408]{1to8}', [0x62,0x62,0xfd,0x58,0x1f,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpaddd zmm30, zmm29, zmm28                   ', [0x62,0x01,0x15,0x40,0xfe,0xf4                         ], 'MODE64');
TEST('vpaddd zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x15,0x40,0xfe,0x31                         ], 'MODE64');
TEST('vpaddd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x15,0x40,0xfe,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpaddd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x15,0x50,0xfe,0x31                         ], 'MODE64');
TEST('vpaddd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x15,0x40,0xfe,0x72,0x7f                    ], 'MODE64');
TEST('vpaddd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x15,0x40,0xfe,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpaddd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x15,0x40,0xfe,0x72,0x80                    ], 'MODE64');
TEST('vpaddd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x15,0x40,0xfe,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpaddd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x15,0x50,0xfe,0x72,0x7f                    ], 'MODE64');
TEST('vpaddd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x15,0x50,0xfe,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpaddd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x15,0x50,0xfe,0x72,0x80                    ], 'MODE64');
TEST('vpaddd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x15,0x50,0xfe,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpaddq zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0xd4,0xf4                         ], 'MODE64');
TEST('vpaddq zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0xd4,0x31                         ], 'MODE64');
TEST('vpaddq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0xd4,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpaddq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0xd4,0x31                         ], 'MODE64');
TEST('vpaddq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0xd4,0x72,0x7f                    ], 'MODE64');
TEST('vpaddq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0xd4,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpaddq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0xd4,0x72,0x80                    ], 'MODE64');
TEST('vpaddq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0xd4,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpaddq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0xd4,0x72,0x7f                    ], 'MODE64');
TEST('vpaddq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0xd4,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpaddq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0xd4,0x72,0x80                    ], 'MODE64');
TEST('vpaddq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0xd4,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpandd zmm30, zmm29, zmm28                   ', [0x62,0x01,0x15,0x40,0xdb,0xf4                         ], 'MODE64');
TEST('vpandd zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x15,0x40,0xdb,0x31                         ], 'MODE64');
TEST('vpandd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x15,0x40,0xdb,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpandd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x15,0x50,0xdb,0x31                         ], 'MODE64');
TEST('vpandd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x15,0x40,0xdb,0x72,0x7f                    ], 'MODE64');
TEST('vpandd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x15,0x40,0xdb,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpandd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x15,0x40,0xdb,0x72,0x80                    ], 'MODE64');
TEST('vpandd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x15,0x40,0xdb,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpandd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x15,0x50,0xdb,0x72,0x7f                    ], 'MODE64');
TEST('vpandd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x15,0x50,0xdb,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpandd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x15,0x50,0xdb,0x72,0x80                    ], 'MODE64');
TEST('vpandd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x15,0x50,0xdb,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpandnd zmm30, zmm29, zmm28                   ', [0x62,0x01,0x15,0x40,0xdf,0xf4                         ], 'MODE64');
TEST('vpandnd zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x15,0x40,0xdf,0x31                         ], 'MODE64');
TEST('vpandnd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x15,0x40,0xdf,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpandnd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x15,0x50,0xdf,0x31                         ], 'MODE64');
TEST('vpandnd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x15,0x40,0xdf,0x72,0x7f                    ], 'MODE64');
TEST('vpandnd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x15,0x40,0xdf,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpandnd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x15,0x40,0xdf,0x72,0x80                    ], 'MODE64');
TEST('vpandnd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x15,0x40,0xdf,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpandnd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x15,0x50,0xdf,0x72,0x7f                    ], 'MODE64');
TEST('vpandnd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x15,0x50,0xdf,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpandnd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x15,0x50,0xdf,0x72,0x80                    ], 'MODE64');
TEST('vpandnd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x15,0x50,0xdf,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpandnq zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0xdf,0xf4                         ], 'MODE64');
TEST('vpandnq zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0xdf,0x31                         ], 'MODE64');
TEST('vpandnq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0xdf,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpandnq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0xdf,0x31                         ], 'MODE64');
TEST('vpandnq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0xdf,0x72,0x7f                    ], 'MODE64');
TEST('vpandnq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0xdf,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpandnq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0xdf,0x72,0x80                    ], 'MODE64');
TEST('vpandnq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0xdf,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpandnq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0xdf,0x72,0x7f                    ], 'MODE64');
TEST('vpandnq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0xdf,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpandnq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0xdf,0x72,0x80                    ], 'MODE64');
TEST('vpandnq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0xdf,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpandq zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0xdb,0xf4                         ], 'MODE64');
TEST('vpandq zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0xdb,0x31                         ], 'MODE64');
TEST('vpandq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0xdb,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpandq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0xdb,0x31                         ], 'MODE64');
TEST('vpandq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0xdb,0x72,0x7f                    ], 'MODE64');
TEST('vpandq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0xdb,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpandq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0xdb,0x72,0x80                    ], 'MODE64');
TEST('vpandq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0xdb,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpandq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0xdb,0x72,0x7f                    ], 'MODE64');
TEST('vpandq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0xdb,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpandq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0xdb,0x72,0x80                    ], 'MODE64');
TEST('vpandq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0xdb,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpblendmd zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x64,0xf4                         ], 'MODE64');
TEST('vpblendmd zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x64,0x31                         ], 'MODE64');
TEST('vpblendmd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x64,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpblendmd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x64,0x31                         ], 'MODE64');
TEST('vpblendmd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x64,0x72,0x7f                    ], 'MODE64');
TEST('vpblendmd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x64,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpblendmd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x64,0x72,0x80                    ], 'MODE64');
TEST('vpblendmd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x64,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpblendmd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x64,0x72,0x7f                    ], 'MODE64');
TEST('vpblendmd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x64,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpblendmd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x64,0x72,0x80                    ], 'MODE64');
TEST('vpblendmd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x64,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpblendmq zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x64,0xf4                         ], 'MODE64');
TEST('vpblendmq zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x64,0x31                         ], 'MODE64');
TEST('vpblendmq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x64,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpblendmq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x64,0x31                         ], 'MODE64');
TEST('vpblendmq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x64,0x72,0x7f                    ], 'MODE64');
TEST('vpblendmq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x64,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpblendmq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x64,0x72,0x80                    ], 'MODE64');
TEST('vpblendmq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x64,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpblendmq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x64,0x72,0x7f                    ], 'MODE64');
TEST('vpblendmq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x64,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpblendmq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x64,0x72,0x80                    ], 'MODE64');
TEST('vpblendmq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x64,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpbroadcastd zmm30, dword [rcx]            ', [0x62,0x62,0x7d,0x48,0x58,0x31                         ], 'MODE64');
TEST('vpbroadcastd zmm30, dword [rax+r14*8+0x123]', [0x62,0x22,0x7d,0x48,0x58,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpbroadcastd zmm30, dword [rdx+0x1fc]      ', [0x62,0x62,0x7d,0x48,0x58,0x72,0x7f                    ], 'MODE64');
TEST('vpbroadcastd zmm30, dword [rdx+0x200]      ', [0x62,0x62,0x7d,0x48,0x58,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpbroadcastd zmm30, dword [rdx-0x200]      ', [0x62,0x62,0x7d,0x48,0x58,0x72,0x80                    ], 'MODE64');
TEST('vpbroadcastd zmm30, dword [rdx-0x204]      ', [0x62,0x62,0x7d,0x48,0x58,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');
TEST('vpbroadcastd zmm30, eax                    ', [0x62,0x62,0x7d,0x48,0x7c,0xf0                         ], 'MODE64');
TEST('vpbroadcastd zmm30, ebp                    ', [0x62,0x62,0x7d,0x48,0x7c,0xf5                         ], 'MODE64');
TEST('vpbroadcastd zmm30, r13d                   ', [0x62,0x42,0x7d,0x48,0x7c,0xf5                         ], 'MODE64');

TEST('vpbroadcastq zmm30, qword [rcx]            ', [0x62,0x62,0xfd,0x48,0x59,0x31                         ], 'MODE64');
TEST('vpbroadcastq zmm30, qword [rax+r14*8+0x123]', [0x62,0x22,0xfd,0x48,0x59,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpbroadcastq zmm30, qword [rdx+0x3f8]      ', [0x62,0x62,0xfd,0x48,0x59,0x72,0x7f                    ], 'MODE64');
TEST('vpbroadcastq zmm30, qword [rdx+0x400]      ', [0x62,0x62,0xfd,0x48,0x59,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpbroadcastq zmm30, qword [rdx-0x400]      ', [0x62,0x62,0xfd,0x48,0x59,0x72,0x80                    ], 'MODE64');
TEST('vpbroadcastq zmm30, qword [rdx-0x408]      ', [0x62,0x62,0xfd,0x48,0x59,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');
TEST('vpbroadcastq zmm30, rax                    ', [0x62,0x62,0xfd,0x48,0x7c,0xf0                         ], 'MODE64');
TEST('vpbroadcastq zmm30, r8                     ', [0x62,0x42,0xfd,0x48,0x7c,0xf0                         ], 'MODE64');

TEST('vpcmpd k5, zmm30, zmm29, 171                      ', [0x62,0x93,0x0d,0x40,0x1f,0xed,0xab                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zmm29, 123                      ', [0x62,0x93,0x0d,0x40,0x1f,0xed,0x7b                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rcx], 123                ', [0x62,0xf3,0x0d,0x40,0x1f,0x29,0x7b                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rax+r14*8+0x123], 123    ', [0x62,0xb3,0x0d,0x40,0x1f,0xac,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx+0x1fc0], 123         ', [0x62,0xf3,0x0d,0x40,0x1f,0x6a,0x7f,0x7b                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx+0x2000], 123         ', [0x62,0xf3,0x0d,0x40,0x1f,0xaa,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx-0x2000], 123         ', [0x62,0xf3,0x0d,0x40,0x1f,0x6a,0x80,0x7b                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx-0x2040], 123         ', [0x62,0xf3,0x0d,0x40,0x1f,0xaa,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');
TEST('vpcmpd k5, zmm30, zmm29, lt_os                    ', [0x62,0x93,0x0d,0x40,0x1f,0xed,0x01                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rcx], lt_os              ', [0x62,0xf3,0x0d,0x40,0x1f,0x29,0x01                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rax+r14*8+0x123], lt_os  ', [0x62,0xb3,0x0d,0x40,0x1f,0xac,0xf0,0x23,0x01,0x00,0x00,0x01], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rcx]{1to16}, lt_os       ', [0x62,0xf3,0x0d,0x50,0x1f,0x29,0x01                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx+0x1fc0], lt_os       ', [0x62,0xf3,0x0d,0x40,0x1f,0x6a,0x7f,0x01                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx+0x2000], lt_os       ', [0x62,0xf3,0x0d,0x40,0x1f,0xaa,0x00,0x20,0x00,0x00,0x01     ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx-0x2000], lt_os       ', [0x62,0xf3,0x0d,0x40,0x1f,0x6a,0x80,0x01                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx-0x2040], lt_os       ', [0x62,0xf3,0x0d,0x40,0x1f,0xaa,0xc0,0xdf,0xff,0xff,0x01     ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx+0x1fc]{1to16}, lt_os ', [0x62,0xf3,0x0d,0x50,0x1f,0x6a,0x7f,0x01                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx+0x200]{1to16}, lt_os ', [0x62,0xf3,0x0d,0x50,0x1f,0xaa,0x00,0x02,0x00,0x00,0x01     ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx-0x200]{1to16}, lt_os ', [0x62,0xf3,0x0d,0x50,0x1f,0x6a,0x80,0x01                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx-0x204]{1to16}, lt_os ', [0x62,0xf3,0x0d,0x50,0x1f,0xaa,0xfc,0xfd,0xff,0xff,0x01     ], 'MODE64');
TEST('vpcmpd k5, zmm30, zmm29, le_os                    ', [0x62,0x93,0x0d,0x40,0x1f,0xed,0x02                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rcx], le_os              ', [0x62,0xf3,0x0d,0x40,0x1f,0x29,0x02                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rax+r14*8+0x123], le_os  ', [0x62,0xb3,0x0d,0x40,0x1f,0xac,0xf0,0x23,0x01,0x00,0x00,0x02], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rcx]{1to16}, le_os       ', [0x62,0xf3,0x0d,0x50,0x1f,0x29,0x02                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx+0x1fc0], le_os       ', [0x62,0xf3,0x0d,0x40,0x1f,0x6a,0x7f,0x02                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx+0x2000], le_os       ', [0x62,0xf3,0x0d,0x40,0x1f,0xaa,0x00,0x20,0x00,0x00,0x02     ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx-0x2000], le_os       ', [0x62,0xf3,0x0d,0x40,0x1f,0x6a,0x80,0x02                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx-0x2040], le_os       ', [0x62,0xf3,0x0d,0x40,0x1f,0xaa,0xc0,0xdf,0xff,0xff,0x02     ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx+0x1fc]{1to16}, le_os ', [0x62,0xf3,0x0d,0x50,0x1f,0x6a,0x7f,0x02                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx+0x200]{1to16}, le_os ', [0x62,0xf3,0x0d,0x50,0x1f,0xaa,0x00,0x02,0x00,0x00,0x02     ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx-0x200]{1to16}, le_os ', [0x62,0xf3,0x0d,0x50,0x1f,0x6a,0x80,0x02                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx-0x204]{1to16}, le_os ', [0x62,0xf3,0x0d,0x50,0x1f,0xaa,0xfc,0xfd,0xff,0xff,0x02     ], 'MODE64');
TEST('vpcmpd k5, zmm30, zmm29, neq_uq                   ', [0x62,0x93,0x0d,0x40,0x1f,0xed,0x04                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rcx], neq_uq             ', [0x62,0xf3,0x0d,0x40,0x1f,0x29,0x04                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rax+r14*8+0x123], neq_uq ', [0x62,0xb3,0x0d,0x40,0x1f,0xac,0xf0,0x23,0x01,0x00,0x00,0x04], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rcx]{1to16}, neq_uq      ', [0x62,0xf3,0x0d,0x50,0x1f,0x29,0x04                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx+0x1fc0], neq_uq      ', [0x62,0xf3,0x0d,0x40,0x1f,0x6a,0x7f,0x04                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx+0x2000], neq_uq      ', [0x62,0xf3,0x0d,0x40,0x1f,0xaa,0x00,0x20,0x00,0x00,0x04     ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx-0x2000], neq_uq      ', [0x62,0xf3,0x0d,0x40,0x1f,0x6a,0x80,0x04                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx-0x2040], neq_uq      ', [0x62,0xf3,0x0d,0x40,0x1f,0xaa,0xc0,0xdf,0xff,0xff,0x04     ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx+0x1fc]{1to16}, neq_uq', [0x62,0xf3,0x0d,0x50,0x1f,0x6a,0x7f,0x04                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx+0x200]{1to16}, neq_uq', [0x62,0xf3,0x0d,0x50,0x1f,0xaa,0x00,0x02,0x00,0x00,0x04     ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx-0x200]{1to16}, neq_uq', [0x62,0xf3,0x0d,0x50,0x1f,0x6a,0x80,0x04                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx-0x204]{1to16}, neq_uq', [0x62,0xf3,0x0d,0x50,0x1f,0xaa,0xfc,0xfd,0xff,0xff,0x04     ], 'MODE64');
TEST('vpcmpd k5, zmm30, zmm29, nlt_us                   ', [0x62,0x93,0x0d,0x40,0x1f,0xed,0x05                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rcx], nlt_us             ', [0x62,0xf3,0x0d,0x40,0x1f,0x29,0x05                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rax+r14*8+0x123], nlt_us ', [0x62,0xb3,0x0d,0x40,0x1f,0xac,0xf0,0x23,0x01,0x00,0x00,0x05], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rcx]{1to16}, nlt_us      ', [0x62,0xf3,0x0d,0x50,0x1f,0x29,0x05                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx+0x1fc0], nlt_us      ', [0x62,0xf3,0x0d,0x40,0x1f,0x6a,0x7f,0x05                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx+0x2000], nlt_us      ', [0x62,0xf3,0x0d,0x40,0x1f,0xaa,0x00,0x20,0x00,0x00,0x05     ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx-0x2000], nlt_us      ', [0x62,0xf3,0x0d,0x40,0x1f,0x6a,0x80,0x05                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx-0x2040], nlt_us      ', [0x62,0xf3,0x0d,0x40,0x1f,0xaa,0xc0,0xdf,0xff,0xff,0x05     ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx+0x1fc]{1to16}, nlt_us', [0x62,0xf3,0x0d,0x50,0x1f,0x6a,0x7f,0x05                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx+0x200]{1to16}, nlt_us', [0x62,0xf3,0x0d,0x50,0x1f,0xaa,0x00,0x02,0x00,0x00,0x05     ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx-0x200]{1to16}, nlt_us', [0x62,0xf3,0x0d,0x50,0x1f,0x6a,0x80,0x05                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx-0x204]{1to16}, nlt_us', [0x62,0xf3,0x0d,0x50,0x1f,0xaa,0xfc,0xfd,0xff,0xff,0x05     ], 'MODE64');
TEST('vpcmpd k5, zmm30, zmm29, nle_us                   ', [0x62,0x93,0x0d,0x40,0x1f,0xed,0x06                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rcx], nle_us             ', [0x62,0xf3,0x0d,0x40,0x1f,0x29,0x06                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rax+r14*8+0x123], nle_us ', [0x62,0xb3,0x0d,0x40,0x1f,0xac,0xf0,0x23,0x01,0x00,0x00,0x06], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rcx]{1to16}, nle_us      ', [0x62,0xf3,0x0d,0x50,0x1f,0x29,0x06                         ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx+0x1fc0], nle_us      ', [0x62,0xf3,0x0d,0x40,0x1f,0x6a,0x7f,0x06                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx+0x2000], nle_us      ', [0x62,0xf3,0x0d,0x40,0x1f,0xaa,0x00,0x20,0x00,0x00,0x06     ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx-0x2000], nle_us      ', [0x62,0xf3,0x0d,0x40,0x1f,0x6a,0x80,0x06                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, zword [rdx-0x2040], nle_us      ', [0x62,0xf3,0x0d,0x40,0x1f,0xaa,0xc0,0xdf,0xff,0xff,0x06     ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx+0x1fc]{1to16}, nle_us', [0x62,0xf3,0x0d,0x50,0x1f,0x6a,0x7f,0x06                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx+0x200]{1to16}, nle_us', [0x62,0xf3,0x0d,0x50,0x1f,0xaa,0x00,0x02,0x00,0x00,0x06     ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx-0x200]{1to16}, nle_us', [0x62,0xf3,0x0d,0x50,0x1f,0x6a,0x80,0x06                    ], 'MODE64');
TEST('vpcmpd k5, zmm30, dword [rdx-0x204]{1to16}, nle_us', [0x62,0xf3,0x0d,0x50,0x1f,0xaa,0xfc,0xfd,0xff,0xff,0x06     ], 'MODE64');

TEST('vpcmpeqd k5, zmm30, zmm29                   ', [0x62,0x91,0x0d,0x40,0x76,0xed                         ], 'MODE64');
TEST('vpcmpeqd k5, zmm30, zword [rcx]             ', [0x62,0xf1,0x0d,0x40,0x76,0x29                         ], 'MODE64');
TEST('vpcmpeqd k5, zmm30, zword [rax+r14*8+0x123] ', [0x62,0xb1,0x0d,0x40,0x76,0xac,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpcmpeqd k5, zmm30, dword [rcx]{1to16}      ', [0x62,0xf1,0x0d,0x50,0x76,0x29                         ], 'MODE64');
TEST('vpcmpeqd k5, zmm30, zword [rdx+0x1fc0]      ', [0x62,0xf1,0x0d,0x40,0x76,0x6a,0x7f                    ], 'MODE64');
TEST('vpcmpeqd k5, zmm30, zword [rdx+0x2000]      ', [0x62,0xf1,0x0d,0x40,0x76,0xaa,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpcmpeqd k5, zmm30, zword [rdx-0x2000]      ', [0x62,0xf1,0x0d,0x40,0x76,0x6a,0x80                    ], 'MODE64');
TEST('vpcmpeqd k5, zmm30, zword [rdx-0x2040]      ', [0x62,0xf1,0x0d,0x40,0x76,0xaa,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpcmpeqd k5, zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0xf1,0x0d,0x50,0x76,0x6a,0x7f                    ], 'MODE64');
TEST('vpcmpeqd k5, zmm30, dword [rdx+0x200]{1to16}', [0x62,0xf1,0x0d,0x50,0x76,0xaa,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpcmpeqd k5, zmm30, dword [rdx-0x200]{1to16}', [0x62,0xf1,0x0d,0x50,0x76,0x6a,0x80                    ], 'MODE64');
TEST('vpcmpeqd k5, zmm30, dword [rdx-0x204]{1to16}', [0x62,0xf1,0x0d,0x50,0x76,0xaa,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpcmpeqq k5, zmm30, zmm29                  ', [0x62,0x92,0x8d,0x40,0x29,0xed                         ], 'MODE64');
TEST('vpcmpeqq k5, zmm30, zword [rcx]            ', [0x62,0xf2,0x8d,0x40,0x29,0x29                         ], 'MODE64');
TEST('vpcmpeqq k5, zmm30, zword [rax+r14*8+0x123]', [0x62,0xb2,0x8d,0x40,0x29,0xac,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpcmpeqq k5, zmm30, qword [rcx]{1to8}      ', [0x62,0xf2,0x8d,0x50,0x29,0x29                         ], 'MODE64');
TEST('vpcmpeqq k5, zmm30, zword [rdx+0x1fc0]     ', [0x62,0xf2,0x8d,0x40,0x29,0x6a,0x7f                    ], 'MODE64');
TEST('vpcmpeqq k5, zmm30, zword [rdx+0x2000]     ', [0x62,0xf2,0x8d,0x40,0x29,0xaa,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpcmpeqq k5, zmm30, zword [rdx-0x2000]     ', [0x62,0xf2,0x8d,0x40,0x29,0x6a,0x80                    ], 'MODE64');
TEST('vpcmpeqq k5, zmm30, zword [rdx-0x2040]     ', [0x62,0xf2,0x8d,0x40,0x29,0xaa,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpcmpeqq k5, zmm30, qword [rdx+0x3f8]{1to8}', [0x62,0xf2,0x8d,0x50,0x29,0x6a,0x7f                    ], 'MODE64');
TEST('vpcmpeqq k5, zmm30, qword [rdx+0x400]{1to8}', [0x62,0xf2,0x8d,0x50,0x29,0xaa,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpcmpeqq k5, zmm30, qword [rdx-0x400]{1to8}', [0x62,0xf2,0x8d,0x50,0x29,0x6a,0x80                    ], 'MODE64');
TEST('vpcmpeqq k5, zmm30, qword [rdx-0x408]{1to8}', [0x62,0xf2,0x8d,0x50,0x29,0xaa,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpcmpgtd k5, zmm30, zmm29                   ', [0x62,0x91,0x0d,0x40,0x66,0xed                         ], 'MODE64');
TEST('vpcmpgtd k5, zmm30, zword [rcx]             ', [0x62,0xf1,0x0d,0x40,0x66,0x29                         ], 'MODE64');
TEST('vpcmpgtd k5, zmm30, zword [rax+r14*8+0x123] ', [0x62,0xb1,0x0d,0x40,0x66,0xac,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpcmpgtd k5, zmm30, dword [rcx]{1to16}      ', [0x62,0xf1,0x0d,0x50,0x66,0x29                         ], 'MODE64');
TEST('vpcmpgtd k5, zmm30, zword [rdx+0x1fc0]      ', [0x62,0xf1,0x0d,0x40,0x66,0x6a,0x7f                    ], 'MODE64');
TEST('vpcmpgtd k5, zmm30, zword [rdx+0x2000]      ', [0x62,0xf1,0x0d,0x40,0x66,0xaa,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpcmpgtd k5, zmm30, zword [rdx-0x2000]      ', [0x62,0xf1,0x0d,0x40,0x66,0x6a,0x80                    ], 'MODE64');
TEST('vpcmpgtd k5, zmm30, zword [rdx-0x2040]      ', [0x62,0xf1,0x0d,0x40,0x66,0xaa,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpcmpgtd k5, zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0xf1,0x0d,0x50,0x66,0x6a,0x7f                    ], 'MODE64');
TEST('vpcmpgtd k5, zmm30, dword [rdx+0x200]{1to16}', [0x62,0xf1,0x0d,0x50,0x66,0xaa,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpcmpgtd k5, zmm30, dword [rdx-0x200]{1to16}', [0x62,0xf1,0x0d,0x50,0x66,0x6a,0x80                    ], 'MODE64');
TEST('vpcmpgtd k5, zmm30, dword [rdx-0x204]{1to16}', [0x62,0xf1,0x0d,0x50,0x66,0xaa,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpcmpgtq k5, zmm30, zmm29                  ', [0x62,0x92,0x8d,0x40,0x37,0xed                         ], 'MODE64');
TEST('vpcmpgtq k5, zmm30, zword [rcx]            ', [0x62,0xf2,0x8d,0x40,0x37,0x29                         ], 'MODE64');
TEST('vpcmpgtq k5, zmm30, zword [rax+r14*8+0x123]', [0x62,0xb2,0x8d,0x40,0x37,0xac,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpcmpgtq k5, zmm30, qword [rcx]{1to8}      ', [0x62,0xf2,0x8d,0x50,0x37,0x29                         ], 'MODE64');
TEST('vpcmpgtq k5, zmm30, zword [rdx+0x1fc0]     ', [0x62,0xf2,0x8d,0x40,0x37,0x6a,0x7f                    ], 'MODE64');
TEST('vpcmpgtq k5, zmm30, zword [rdx+0x2000]     ', [0x62,0xf2,0x8d,0x40,0x37,0xaa,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpcmpgtq k5, zmm30, zword [rdx-0x2000]     ', [0x62,0xf2,0x8d,0x40,0x37,0x6a,0x80                    ], 'MODE64');
TEST('vpcmpgtq k5, zmm30, zword [rdx-0x2040]     ', [0x62,0xf2,0x8d,0x40,0x37,0xaa,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpcmpgtq k5, zmm30, qword [rdx+0x3f8]{1to8}', [0x62,0xf2,0x8d,0x50,0x37,0x6a,0x7f                    ], 'MODE64');
TEST('vpcmpgtq k5, zmm30, qword [rdx+0x400]{1to8}', [0x62,0xf2,0x8d,0x50,0x37,0xaa,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpcmpgtq k5, zmm30, qword [rdx-0x400]{1to8}', [0x62,0xf2,0x8d,0x50,0x37,0x6a,0x80                    ], 'MODE64');
TEST('vpcmpgtq k5, zmm30, qword [rdx-0x408]{1to8}', [0x62,0xf2,0x8d,0x50,0x37,0xaa,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpcmpq k5, zmm30, zmm29, 171                     ', [0x62,0x93,0x8d,0x40,0x1f,0xed,0xab                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zmm29, 123                     ', [0x62,0x93,0x8d,0x40,0x1f,0xed,0x7b                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rcx], 123               ', [0x62,0xf3,0x8d,0x40,0x1f,0x29,0x7b                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rax+r14*8+0x123], 123   ', [0x62,0xb3,0x8d,0x40,0x1f,0xac,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx+0x1fc0], 123        ', [0x62,0xf3,0x8d,0x40,0x1f,0x6a,0x7f,0x7b                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx+0x2000], 123        ', [0x62,0xf3,0x8d,0x40,0x1f,0xaa,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx-0x2000], 123        ', [0x62,0xf3,0x8d,0x40,0x1f,0x6a,0x80,0x7b                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx-0x2040], 123        ', [0x62,0xf3,0x8d,0x40,0x1f,0xaa,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');
TEST('vpcmpq k5, zmm30, zmm29, lt_os                   ', [0x62,0x93,0x8d,0x40,0x1f,0xed,0x01                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rcx], lt_os             ', [0x62,0xf3,0x8d,0x40,0x1f,0x29,0x01                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rax+r14*8+0x123], lt_os ', [0x62,0xb3,0x8d,0x40,0x1f,0xac,0xf0,0x23,0x01,0x00,0x00,0x01], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rcx]{1to8}, lt_os       ', [0x62,0xf3,0x8d,0x50,0x1f,0x29,0x01                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx+0x1fc0], lt_os      ', [0x62,0xf3,0x8d,0x40,0x1f,0x6a,0x7f,0x01                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx+0x2000], lt_os      ', [0x62,0xf3,0x8d,0x40,0x1f,0xaa,0x00,0x20,0x00,0x00,0x01     ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx-0x2000], lt_os      ', [0x62,0xf3,0x8d,0x40,0x1f,0x6a,0x80,0x01                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx-0x2040], lt_os      ', [0x62,0xf3,0x8d,0x40,0x1f,0xaa,0xc0,0xdf,0xff,0xff,0x01     ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx+0x3f8]{1to8}, lt_os ', [0x62,0xf3,0x8d,0x50,0x1f,0x6a,0x7f,0x01                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx+0x400]{1to8}, lt_os ', [0x62,0xf3,0x8d,0x50,0x1f,0xaa,0x00,0x04,0x00,0x00,0x01     ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx-0x400]{1to8}, lt_os ', [0x62,0xf3,0x8d,0x50,0x1f,0x6a,0x80,0x01                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx-0x408]{1to8}, lt_os ', [0x62,0xf3,0x8d,0x50,0x1f,0xaa,0xf8,0xfb,0xff,0xff,0x01     ], 'MODE64');
TEST('vpcmpq k5, zmm30, zmm29, le_os                   ', [0x62,0x93,0x8d,0x40,0x1f,0xed,0x02                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rcx], le_os             ', [0x62,0xf3,0x8d,0x40,0x1f,0x29,0x02                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rax+r14*8+0x123], le_os ', [0x62,0xb3,0x8d,0x40,0x1f,0xac,0xf0,0x23,0x01,0x00,0x00,0x02], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rcx]{1to8}, le_os       ', [0x62,0xf3,0x8d,0x50,0x1f,0x29,0x02                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx+0x1fc0], le_os      ', [0x62,0xf3,0x8d,0x40,0x1f,0x6a,0x7f,0x02                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx+0x2000], le_os      ', [0x62,0xf3,0x8d,0x40,0x1f,0xaa,0x00,0x20,0x00,0x00,0x02     ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx-0x2000], le_os      ', [0x62,0xf3,0x8d,0x40,0x1f,0x6a,0x80,0x02                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx-0x2040], le_os      ', [0x62,0xf3,0x8d,0x40,0x1f,0xaa,0xc0,0xdf,0xff,0xff,0x02     ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx+0x3f8]{1to8}, le_os ', [0x62,0xf3,0x8d,0x50,0x1f,0x6a,0x7f,0x02                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx+0x400]{1to8}, le_os ', [0x62,0xf3,0x8d,0x50,0x1f,0xaa,0x00,0x04,0x00,0x00,0x02     ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx-0x400]{1to8}, le_os ', [0x62,0xf3,0x8d,0x50,0x1f,0x6a,0x80,0x02                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx-0x408]{1to8}, le_os ', [0x62,0xf3,0x8d,0x50,0x1f,0xaa,0xf8,0xfb,0xff,0xff,0x02     ], 'MODE64');
TEST('vpcmpq k5, zmm30, zmm29, neq_uq                  ', [0x62,0x93,0x8d,0x40,0x1f,0xed,0x04                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rcx], neq_uq            ', [0x62,0xf3,0x8d,0x40,0x1f,0x29,0x04                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rax+r14*8+0x123], neq_uq', [0x62,0xb3,0x8d,0x40,0x1f,0xac,0xf0,0x23,0x01,0x00,0x00,0x04], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rcx]{1to8}, neq_uq      ', [0x62,0xf3,0x8d,0x50,0x1f,0x29,0x04                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx+0x1fc0], neq_uq     ', [0x62,0xf3,0x8d,0x40,0x1f,0x6a,0x7f,0x04                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx+0x2000], neq_uq     ', [0x62,0xf3,0x8d,0x40,0x1f,0xaa,0x00,0x20,0x00,0x00,0x04     ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx-0x2000], neq_uq     ', [0x62,0xf3,0x8d,0x40,0x1f,0x6a,0x80,0x04                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx-0x2040], neq_uq     ', [0x62,0xf3,0x8d,0x40,0x1f,0xaa,0xc0,0xdf,0xff,0xff,0x04     ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx+0x3f8]{1to8}, neq_uq', [0x62,0xf3,0x8d,0x50,0x1f,0x6a,0x7f,0x04                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx+0x400]{1to8}, neq_uq', [0x62,0xf3,0x8d,0x50,0x1f,0xaa,0x00,0x04,0x00,0x00,0x04     ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx-0x400]{1to8}, neq_uq', [0x62,0xf3,0x8d,0x50,0x1f,0x6a,0x80,0x04                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx-0x408]{1to8}, neq_uq', [0x62,0xf3,0x8d,0x50,0x1f,0xaa,0xf8,0xfb,0xff,0xff,0x04     ], 'MODE64');
TEST('vpcmpq k5, zmm30, zmm29, nlt_us                  ', [0x62,0x93,0x8d,0x40,0x1f,0xed,0x05                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rcx], nlt_us            ', [0x62,0xf3,0x8d,0x40,0x1f,0x29,0x05                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rax+r14*8+0x123], nlt_us', [0x62,0xb3,0x8d,0x40,0x1f,0xac,0xf0,0x23,0x01,0x00,0x00,0x05], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rcx]{1to8}, nlt_us      ', [0x62,0xf3,0x8d,0x50,0x1f,0x29,0x05                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx+0x1fc0], nlt_us     ', [0x62,0xf3,0x8d,0x40,0x1f,0x6a,0x7f,0x05                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx+0x2000], nlt_us     ', [0x62,0xf3,0x8d,0x40,0x1f,0xaa,0x00,0x20,0x00,0x00,0x05     ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx-0x2000], nlt_us     ', [0x62,0xf3,0x8d,0x40,0x1f,0x6a,0x80,0x05                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx-0x2040], nlt_us     ', [0x62,0xf3,0x8d,0x40,0x1f,0xaa,0xc0,0xdf,0xff,0xff,0x05     ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx+0x3f8]{1to8}, nlt_us', [0x62,0xf3,0x8d,0x50,0x1f,0x6a,0x7f,0x05                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx+0x400]{1to8}, nlt_us', [0x62,0xf3,0x8d,0x50,0x1f,0xaa,0x00,0x04,0x00,0x00,0x05     ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx-0x400]{1to8}, nlt_us', [0x62,0xf3,0x8d,0x50,0x1f,0x6a,0x80,0x05                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx-0x408]{1to8}, nlt_us', [0x62,0xf3,0x8d,0x50,0x1f,0xaa,0xf8,0xfb,0xff,0xff,0x05     ], 'MODE64');
TEST('vpcmpq k5, zmm30, zmm29, nle_us                  ', [0x62,0x93,0x8d,0x40,0x1f,0xed,0x06                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rcx], nle_us            ', [0x62,0xf3,0x8d,0x40,0x1f,0x29,0x06                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rax+r14*8+0x123], nle_us', [0x62,0xb3,0x8d,0x40,0x1f,0xac,0xf0,0x23,0x01,0x00,0x00,0x06], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rcx]{1to8}, nle_us      ', [0x62,0xf3,0x8d,0x50,0x1f,0x29,0x06                         ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx+0x1fc0], nle_us     ', [0x62,0xf3,0x8d,0x40,0x1f,0x6a,0x7f,0x06                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx+0x2000], nle_us     ', [0x62,0xf3,0x8d,0x40,0x1f,0xaa,0x00,0x20,0x00,0x00,0x06     ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx-0x2000], nle_us     ', [0x62,0xf3,0x8d,0x40,0x1f,0x6a,0x80,0x06                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, zword [rdx-0x2040], nle_us     ', [0x62,0xf3,0x8d,0x40,0x1f,0xaa,0xc0,0xdf,0xff,0xff,0x06     ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx+0x3f8]{1to8}, nle_us', [0x62,0xf3,0x8d,0x50,0x1f,0x6a,0x7f,0x06                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx+0x400]{1to8}, nle_us', [0x62,0xf3,0x8d,0x50,0x1f,0xaa,0x00,0x04,0x00,0x00,0x06     ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx-0x400]{1to8}, nle_us', [0x62,0xf3,0x8d,0x50,0x1f,0x6a,0x80,0x06                    ], 'MODE64');
TEST('vpcmpq k5, zmm30, qword [rdx-0x408]{1to8}, nle_us', [0x62,0xf3,0x8d,0x50,0x1f,0xaa,0xf8,0xfb,0xff,0xff,0x06     ], 'MODE64');

TEST('vpcmpud k5, zmm30, zmm29, 171                      ', [0x62,0x93,0x0d,0x40,0x1e,0xed,0xab                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zmm29, 123                      ', [0x62,0x93,0x0d,0x40,0x1e,0xed,0x7b                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rcx], 123                ', [0x62,0xf3,0x0d,0x40,0x1e,0x29,0x7b                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rax+r14*8+0x123], 123    ', [0x62,0xb3,0x0d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x1fc0], 123         ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x7f,0x7b                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x2000], 123         ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2000], 123         ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x80,0x7b                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2040], 123         ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zmm29, eq_oq                    ', [0x62,0x93,0x0d,0x40,0x1e,0xed,0x00                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rcx], eq_oq              ', [0x62,0xf3,0x0d,0x40,0x1e,0x29,0x00                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rax+r14*8+0x123], eq_oq  ', [0x62,0xb3,0x0d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x00], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rcx]{1to16}, eq_oq       ', [0x62,0xf3,0x0d,0x50,0x1e,0x29,0x00                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x1fc0], eq_oq       ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x7f,0x00                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x2000], eq_oq       ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x00     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2000], eq_oq       ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x80,0x00                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2040], eq_oq       ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x00     ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx+0x1fc]{1to16}, eq_oq ', [0x62,0xf3,0x0d,0x50,0x1e,0x6a,0x7f,0x00                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx+0x200]{1to16}, eq_oq ', [0x62,0xf3,0x0d,0x50,0x1e,0xaa,0x00,0x02,0x00,0x00,0x00     ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx-0x200]{1to16}, eq_oq ', [0x62,0xf3,0x0d,0x50,0x1e,0x6a,0x80,0x00                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx-0x204]{1to16}, eq_oq ', [0x62,0xf3,0x0d,0x50,0x1e,0xaa,0xfc,0xfd,0xff,0xff,0x00     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zmm29, lt_os                    ', [0x62,0x93,0x0d,0x40,0x1e,0xed,0x01                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rcx], lt_os              ', [0x62,0xf3,0x0d,0x40,0x1e,0x29,0x01                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rax+r14*8+0x123], lt_os  ', [0x62,0xb3,0x0d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x01], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rcx]{1to16}, lt_os       ', [0x62,0xf3,0x0d,0x50,0x1e,0x29,0x01                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x1fc0], lt_os       ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x7f,0x01                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x2000], lt_os       ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x01     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2000], lt_os       ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x80,0x01                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2040], lt_os       ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x01     ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx+0x1fc]{1to16}, lt_os ', [0x62,0xf3,0x0d,0x50,0x1e,0x6a,0x7f,0x01                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx+0x200]{1to16}, lt_os ', [0x62,0xf3,0x0d,0x50,0x1e,0xaa,0x00,0x02,0x00,0x00,0x01     ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx-0x200]{1to16}, lt_os ', [0x62,0xf3,0x0d,0x50,0x1e,0x6a,0x80,0x01                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx-0x204]{1to16}, lt_os ', [0x62,0xf3,0x0d,0x50,0x1e,0xaa,0xfc,0xfd,0xff,0xff,0x01     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zmm29, le_os                    ', [0x62,0x93,0x0d,0x40,0x1e,0xed,0x02                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rcx], le_os              ', [0x62,0xf3,0x0d,0x40,0x1e,0x29,0x02                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rax+r14*8+0x123], le_os  ', [0x62,0xb3,0x0d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x02], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rcx]{1to16}, le_os       ', [0x62,0xf3,0x0d,0x50,0x1e,0x29,0x02                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x1fc0], le_os       ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x7f,0x02                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x2000], le_os       ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x02     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2000], le_os       ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x80,0x02                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2040], le_os       ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x02     ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx+0x1fc]{1to16}, le_os ', [0x62,0xf3,0x0d,0x50,0x1e,0x6a,0x7f,0x02                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx+0x200]{1to16}, le_os ', [0x62,0xf3,0x0d,0x50,0x1e,0xaa,0x00,0x02,0x00,0x00,0x02     ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx-0x200]{1to16}, le_os ', [0x62,0xf3,0x0d,0x50,0x1e,0x6a,0x80,0x02                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx-0x204]{1to16}, le_os ', [0x62,0xf3,0x0d,0x50,0x1e,0xaa,0xfc,0xfd,0xff,0xff,0x02     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zmm29, neq_uq                   ', [0x62,0x93,0x0d,0x40,0x1e,0xed,0x04                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rcx], neq_uq             ', [0x62,0xf3,0x0d,0x40,0x1e,0x29,0x04                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rax+r14*8+0x123], neq_uq ', [0x62,0xb3,0x0d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x04], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rcx]{1to16}, neq_uq      ', [0x62,0xf3,0x0d,0x50,0x1e,0x29,0x04                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x1fc0], neq_uq      ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x7f,0x04                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x2000], neq_uq      ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x04     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2000], neq_uq      ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x80,0x04                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2040], neq_uq      ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x04     ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx+0x1fc]{1to16}, neq_uq', [0x62,0xf3,0x0d,0x50,0x1e,0x6a,0x7f,0x04                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx+0x200]{1to16}, neq_uq', [0x62,0xf3,0x0d,0x50,0x1e,0xaa,0x00,0x02,0x00,0x00,0x04     ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx-0x200]{1to16}, neq_uq', [0x62,0xf3,0x0d,0x50,0x1e,0x6a,0x80,0x04                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx-0x204]{1to16}, neq_uq', [0x62,0xf3,0x0d,0x50,0x1e,0xaa,0xfc,0xfd,0xff,0xff,0x04     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zmm29, nlt_us                   ', [0x62,0x93,0x0d,0x40,0x1e,0xed,0x05                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rcx], nlt_us             ', [0x62,0xf3,0x0d,0x40,0x1e,0x29,0x05                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rax+r14*8+0x123], nlt_us ', [0x62,0xb3,0x0d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x05], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rcx]{1to16}, nlt_us      ', [0x62,0xf3,0x0d,0x50,0x1e,0x29,0x05                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x1fc0], nlt_us      ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x7f,0x05                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x2000], nlt_us      ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x05     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2000], nlt_us      ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x80,0x05                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2040], nlt_us      ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x05     ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx+0x1fc]{1to16}, nlt_us', [0x62,0xf3,0x0d,0x50,0x1e,0x6a,0x7f,0x05                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx+0x200]{1to16}, nlt_us', [0x62,0xf3,0x0d,0x50,0x1e,0xaa,0x00,0x02,0x00,0x00,0x05     ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx-0x200]{1to16}, nlt_us', [0x62,0xf3,0x0d,0x50,0x1e,0x6a,0x80,0x05                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx-0x204]{1to16}, nlt_us', [0x62,0xf3,0x0d,0x50,0x1e,0xaa,0xfc,0xfd,0xff,0xff,0x05     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zmm29, nle_us                   ', [0x62,0x93,0x0d,0x40,0x1e,0xed,0x06                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rcx], nle_us             ', [0x62,0xf3,0x0d,0x40,0x1e,0x29,0x06                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rax+r14*8+0x123], nle_us ', [0x62,0xb3,0x0d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x06], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rcx]{1to16}, nle_us      ', [0x62,0xf3,0x0d,0x50,0x1e,0x29,0x06                         ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x1fc0], nle_us      ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x7f,0x06                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx+0x2000], nle_us      ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x06     ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2000], nle_us      ', [0x62,0xf3,0x0d,0x40,0x1e,0x6a,0x80,0x06                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, zword [rdx-0x2040], nle_us      ', [0x62,0xf3,0x0d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x06     ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx+0x1fc]{1to16}, nle_us', [0x62,0xf3,0x0d,0x50,0x1e,0x6a,0x7f,0x06                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx+0x200]{1to16}, nle_us', [0x62,0xf3,0x0d,0x50,0x1e,0xaa,0x00,0x02,0x00,0x00,0x06     ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx-0x200]{1to16}, nle_us', [0x62,0xf3,0x0d,0x50,0x1e,0x6a,0x80,0x06                    ], 'MODE64');
TEST('vpcmpud k5, zmm30, dword [rdx-0x204]{1to16}, nle_us', [0x62,0xf3,0x0d,0x50,0x1e,0xaa,0xfc,0xfd,0xff,0xff,0x06     ], 'MODE64');

TEST('vpcmpuq k5, zmm30, zmm29, 171                     ', [0x62,0x93,0x8d,0x40,0x1e,0xed,0xab                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zmm29, 123                     ', [0x62,0x93,0x8d,0x40,0x1e,0xed,0x7b                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rcx], 123               ', [0x62,0xf3,0x8d,0x40,0x1e,0x29,0x7b                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rax+r14*8+0x123], 123   ', [0x62,0xb3,0x8d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x1fc0], 123        ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x7f,0x7b                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x2000], 123        ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2000], 123        ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x80,0x7b                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2040], 123        ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zmm29, eq_oq                   ', [0x62,0x93,0x8d,0x40,0x1e,0xed,0x00                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rcx], eq_oq             ', [0x62,0xf3,0x8d,0x40,0x1e,0x29,0x00                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rax+r14*8+0x123], eq_oq ', [0x62,0xb3,0x8d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x00], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rcx]{1to8}, eq_oq       ', [0x62,0xf3,0x8d,0x50,0x1e,0x29,0x00                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x1fc0], eq_oq      ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x7f,0x00                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x2000], eq_oq      ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x00     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2000], eq_oq      ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x80,0x00                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2040], eq_oq      ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x00     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx+0x3f8]{1to8}, eq_oq ', [0x62,0xf3,0x8d,0x50,0x1e,0x6a,0x7f,0x00                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx+0x400]{1to8}, eq_oq ', [0x62,0xf3,0x8d,0x50,0x1e,0xaa,0x00,0x04,0x00,0x00,0x00     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx-0x400]{1to8}, eq_oq ', [0x62,0xf3,0x8d,0x50,0x1e,0x6a,0x80,0x00                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx-0x408]{1to8}, eq_oq ', [0x62,0xf3,0x8d,0x50,0x1e,0xaa,0xf8,0xfb,0xff,0xff,0x00     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zmm29, lt_os                   ', [0x62,0x93,0x8d,0x40,0x1e,0xed,0x01                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rcx], lt_os             ', [0x62,0xf3,0x8d,0x40,0x1e,0x29,0x01                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rax+r14*8+0x123], lt_os ', [0x62,0xb3,0x8d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x01], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rcx]{1to8}, lt_os       ', [0x62,0xf3,0x8d,0x50,0x1e,0x29,0x01                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x1fc0], lt_os      ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x7f,0x01                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x2000], lt_os      ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x01     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2000], lt_os      ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x80,0x01                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2040], lt_os      ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x01     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx+0x3f8]{1to8}, lt_os ', [0x62,0xf3,0x8d,0x50,0x1e,0x6a,0x7f,0x01                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx+0x400]{1to8}, lt_os ', [0x62,0xf3,0x8d,0x50,0x1e,0xaa,0x00,0x04,0x00,0x00,0x01     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx-0x400]{1to8}, lt_os ', [0x62,0xf3,0x8d,0x50,0x1e,0x6a,0x80,0x01                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx-0x408]{1to8}, lt_os ', [0x62,0xf3,0x8d,0x50,0x1e,0xaa,0xf8,0xfb,0xff,0xff,0x01     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zmm29, le_os                   ', [0x62,0x93,0x8d,0x40,0x1e,0xed,0x02                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rcx], le_os             ', [0x62,0xf3,0x8d,0x40,0x1e,0x29,0x02                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rax+r14*8+0x123], le_os ', [0x62,0xb3,0x8d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x02], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rcx]{1to8}, le_os       ', [0x62,0xf3,0x8d,0x50,0x1e,0x29,0x02                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x1fc0], le_os      ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x7f,0x02                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x2000], le_os      ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x02     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2000], le_os      ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x80,0x02                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2040], le_os      ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x02     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx+0x3f8]{1to8}, le_os ', [0x62,0xf3,0x8d,0x50,0x1e,0x6a,0x7f,0x02                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx+0x400]{1to8}, le_os ', [0x62,0xf3,0x8d,0x50,0x1e,0xaa,0x00,0x04,0x00,0x00,0x02     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx-0x400]{1to8}, le_os ', [0x62,0xf3,0x8d,0x50,0x1e,0x6a,0x80,0x02                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx-0x408]{1to8}, le_os ', [0x62,0xf3,0x8d,0x50,0x1e,0xaa,0xf8,0xfb,0xff,0xff,0x02     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zmm29, neq_uq                  ', [0x62,0x93,0x8d,0x40,0x1e,0xed,0x04                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rcx], neq_uq            ', [0x62,0xf3,0x8d,0x40,0x1e,0x29,0x04                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rax+r14*8+0x123], neq_uq', [0x62,0xb3,0x8d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x04], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rcx]{1to8}, neq_uq      ', [0x62,0xf3,0x8d,0x50,0x1e,0x29,0x04                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x1fc0], neq_uq     ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x7f,0x04                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x2000], neq_uq     ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x04     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2000], neq_uq     ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x80,0x04                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2040], neq_uq     ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x04     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx+0x3f8]{1to8}, neq_uq', [0x62,0xf3,0x8d,0x50,0x1e,0x6a,0x7f,0x04                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx+0x400]{1to8}, neq_uq', [0x62,0xf3,0x8d,0x50,0x1e,0xaa,0x00,0x04,0x00,0x00,0x04     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx-0x400]{1to8}, neq_uq', [0x62,0xf3,0x8d,0x50,0x1e,0x6a,0x80,0x04                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx-0x408]{1to8}, neq_uq', [0x62,0xf3,0x8d,0x50,0x1e,0xaa,0xf8,0xfb,0xff,0xff,0x04     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zmm29, nlt_us                  ', [0x62,0x93,0x8d,0x40,0x1e,0xed,0x05                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rcx], nlt_us            ', [0x62,0xf3,0x8d,0x40,0x1e,0x29,0x05                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rax+r14*8+0x123], nlt_us', [0x62,0xb3,0x8d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x05], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rcx]{1to8}, nlt_us      ', [0x62,0xf3,0x8d,0x50,0x1e,0x29,0x05                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x1fc0], nlt_us     ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x7f,0x05                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x2000], nlt_us     ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x05     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2000], nlt_us     ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x80,0x05                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2040], nlt_us     ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x05     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx+0x3f8]{1to8}, nlt_us', [0x62,0xf3,0x8d,0x50,0x1e,0x6a,0x7f,0x05                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx+0x400]{1to8}, nlt_us', [0x62,0xf3,0x8d,0x50,0x1e,0xaa,0x00,0x04,0x00,0x00,0x05     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx-0x400]{1to8}, nlt_us', [0x62,0xf3,0x8d,0x50,0x1e,0x6a,0x80,0x05                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx-0x408]{1to8}, nlt_us', [0x62,0xf3,0x8d,0x50,0x1e,0xaa,0xf8,0xfb,0xff,0xff,0x05     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zmm29, nle_us                  ', [0x62,0x93,0x8d,0x40,0x1e,0xed,0x06                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rcx], nle_us            ', [0x62,0xf3,0x8d,0x40,0x1e,0x29,0x06                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rax+r14*8+0x123], nle_us', [0x62,0xb3,0x8d,0x40,0x1e,0xac,0xf0,0x23,0x01,0x00,0x00,0x06], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rcx]{1to8}, nle_us      ', [0x62,0xf3,0x8d,0x50,0x1e,0x29,0x06                         ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x1fc0], nle_us     ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x7f,0x06                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx+0x2000], nle_us     ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0x00,0x20,0x00,0x00,0x06     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2000], nle_us     ', [0x62,0xf3,0x8d,0x40,0x1e,0x6a,0x80,0x06                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, zword [rdx-0x2040], nle_us     ', [0x62,0xf3,0x8d,0x40,0x1e,0xaa,0xc0,0xdf,0xff,0xff,0x06     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx+0x3f8]{1to8}, nle_us', [0x62,0xf3,0x8d,0x50,0x1e,0x6a,0x7f,0x06                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx+0x400]{1to8}, nle_us', [0x62,0xf3,0x8d,0x50,0x1e,0xaa,0x00,0x04,0x00,0x00,0x06     ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx-0x400]{1to8}, nle_us', [0x62,0xf3,0x8d,0x50,0x1e,0x6a,0x80,0x06                    ], 'MODE64');
TEST('vpcmpuq k5, zmm30, qword [rdx-0x408]{1to8}, nle_us', [0x62,0xf3,0x8d,0x50,0x1e,0xaa,0xf8,0xfb,0xff,0xff,0x06     ], 'MODE64');

TEST('vpcompressd zword [rcx], zmm30            ', [0x62,0x62,0x7d,0x48,0x8b,0x31                         ], 'MODE64');
TEST('vpcompressd zword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7d,0x48,0x8b,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpcompressd zword [rdx+0x1fc], zmm30      ', [0x62,0x62,0x7d,0x48,0x8b,0x72,0x7f                    ], 'MODE64');
TEST('vpcompressd zword [rdx+0x200], zmm30      ', [0x62,0x62,0x7d,0x48,0x8b,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpcompressd zword [rdx-0x200], zmm30      ', [0x62,0x62,0x7d,0x48,0x8b,0x72,0x80                    ], 'MODE64');
TEST('vpcompressd zword [rdx-0x204], zmm30      ', [0x62,0x62,0x7d,0x48,0x8b,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');
TEST('vpcompressd zmm30, zmm29                  ', [0x62,0x02,0x7d,0x48,0x8b,0xee                         ], 'MODE64');

TEST('vpcompressq zword [rcx], zmm30            ', [0x62,0x62,0xfd,0x48,0x8b,0x31                         ], 'MODE64');
TEST('vpcompressq zword [rax+r14*8+0x123], zmm30', [0x62,0x22,0xfd,0x48,0x8b,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpcompressq zword [rdx+0x3f8], zmm30      ', [0x62,0x62,0xfd,0x48,0x8b,0x72,0x7f                    ], 'MODE64');
TEST('vpcompressq zword [rdx+0x400], zmm30      ', [0x62,0x62,0xfd,0x48,0x8b,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpcompressq zword [rdx-0x400], zmm30      ', [0x62,0x62,0xfd,0x48,0x8b,0x72,0x80                    ], 'MODE64');
TEST('vpcompressq zword [rdx-0x408], zmm30      ', [0x62,0x62,0xfd,0x48,0x8b,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');
TEST('vpcompressq zmm30, zmm29                  ', [0x62,0x02,0xfd,0x48,0x8b,0xee                         ], 'MODE64');

TEST('vpermd zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x36,0xf4                         ], 'MODE64');
TEST('vpermd zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x36,0x31                         ], 'MODE64');
TEST('vpermd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x36,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpermd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x36,0x31                         ], 'MODE64');
TEST('vpermd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x36,0x72,0x7f                    ], 'MODE64');
TEST('vpermd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x36,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpermd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x36,0x72,0x80                    ], 'MODE64');
TEST('vpermd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x36,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpermd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x36,0x72,0x7f                    ], 'MODE64');
TEST('vpermd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x36,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpermd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x36,0x72,0x80                    ], 'MODE64');
TEST('vpermd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x36,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpermi2d zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x76,0xf4                         ], 'MODE64');
TEST('vpermi2d zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x76,0x31                         ], 'MODE64');
TEST('vpermi2d zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x76,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpermi2d zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x76,0x31                         ], 'MODE64');
TEST('vpermi2d zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x76,0x72,0x7f                    ], 'MODE64');
TEST('vpermi2d zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x76,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpermi2d zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x76,0x72,0x80                    ], 'MODE64');
TEST('vpermi2d zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x76,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpermi2d zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x76,0x72,0x7f                    ], 'MODE64');
TEST('vpermi2d zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x76,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpermi2d zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x76,0x72,0x80                    ], 'MODE64');
TEST('vpermi2d zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x76,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpermi2pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x77,0xf4                         ], 'MODE64');
TEST('vpermi2pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x77,0x31                         ], 'MODE64');
TEST('vpermi2pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x77,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpermi2pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x77,0x31                         ], 'MODE64');
TEST('vpermi2pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x77,0x72,0x7f                    ], 'MODE64');
TEST('vpermi2pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x77,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpermi2pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x77,0x72,0x80                    ], 'MODE64');
TEST('vpermi2pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x77,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpermi2pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x77,0x72,0x7f                    ], 'MODE64');
TEST('vpermi2pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x77,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpermi2pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x77,0x72,0x80                    ], 'MODE64');
TEST('vpermi2pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x77,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpermi2ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x77,0xf4                         ], 'MODE64');
TEST('vpermi2ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x77,0x31                         ], 'MODE64');
TEST('vpermi2ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x77,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpermi2ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x77,0x31                         ], 'MODE64');
TEST('vpermi2ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x77,0x72,0x7f                    ], 'MODE64');
TEST('vpermi2ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x77,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpermi2ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x77,0x72,0x80                    ], 'MODE64');
TEST('vpermi2ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x77,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpermi2ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x77,0x72,0x7f                    ], 'MODE64');
TEST('vpermi2ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x77,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpermi2ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x77,0x72,0x80                    ], 'MODE64');
TEST('vpermi2ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x77,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpermi2q zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x76,0xf4                         ], 'MODE64');
TEST('vpermi2q zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x76,0x31                         ], 'MODE64');
TEST('vpermi2q zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x76,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpermi2q zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x76,0x31                         ], 'MODE64');
TEST('vpermi2q zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x76,0x72,0x7f                    ], 'MODE64');
TEST('vpermi2q zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x76,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpermi2q zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x76,0x72,0x80                    ], 'MODE64');
TEST('vpermi2q zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x76,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpermi2q zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x76,0x72,0x7f                    ], 'MODE64');
TEST('vpermi2q zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x76,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpermi2q zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x76,0x72,0x80                    ], 'MODE64');
TEST('vpermi2q zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x76,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpermilpd zmm30, zmm29, 171                    ', [0x62,0x03,0xfd,0x48,0x05,0xf5,0xab                         ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, 123                    ', [0x62,0x03,0xfd,0x48,0x05,0xf5,0x7b                         ], 'MODE64');
TEST('vpermilpd zmm30, zword [rcx], 123              ', [0x62,0x63,0xfd,0x48,0x05,0x31,0x7b                         ], 'MODE64');
TEST('vpermilpd zmm30, zword [rax+r14*8+0x123], 123  ', [0x62,0x23,0xfd,0x48,0x05,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpermilpd zmm30, zword [rdx+0x1fc0], 123       ', [0x62,0x63,0xfd,0x48,0x05,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vpermilpd zmm30, zword [rdx+0x2000], 123       ', [0x62,0x63,0xfd,0x48,0x05,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpermilpd zmm30, zword [rdx-0x2000], 123       ', [0x62,0x63,0xfd,0x48,0x05,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vpermilpd zmm30, zword [rdx-0x2040], 123       ', [0x62,0x63,0xfd,0x48,0x05,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x0d,0xf4                              ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x0d,0x31                              ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x0d,0xb4,0xf0,0x23,0x01,0x00,0x00     ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x0d,0x31                              ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x0d,0x72,0x7f                         ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x0d,0xb2,0x00,0x20,0x00,0x00          ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x0d,0x72,0x80                         ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x0d,0xb2,0xc0,0xdf,0xff,0xff          ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x0d,0x72,0x7f                         ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x0d,0xb2,0x00,0x04,0x00,0x00          ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x0d,0x72,0x80                         ], 'MODE64');
TEST('vpermilpd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x0d,0xb2,0xf8,0xfb,0xff,0xff          ], 'MODE64');

TEST('vpermilps zmm30, zmm29, 171                     ', [0x62,0x03,0x7d,0x48,0x04,0xf5,0xab                         ], 'MODE64');
TEST('vpermilps zmm30, zmm29, 123                     ', [0x62,0x03,0x7d,0x48,0x04,0xf5,0x7b                         ], 'MODE64');
TEST('vpermilps zmm30, zword [rcx], 123               ', [0x62,0x63,0x7d,0x48,0x04,0x31,0x7b                         ], 'MODE64');
TEST('vpermilps zmm30, zword [rax+r14*8+0x123], 123   ', [0x62,0x23,0x7d,0x48,0x04,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpermilps zmm30, zword [rdx+0x1fc0], 123        ', [0x62,0x63,0x7d,0x48,0x04,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vpermilps zmm30, zword [rdx+0x2000], 123        ', [0x62,0x63,0x7d,0x48,0x04,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpermilps zmm30, zword [rdx-0x2000], 123        ', [0x62,0x63,0x7d,0x48,0x04,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vpermilps zmm30, zword [rdx-0x2040], 123        ', [0x62,0x63,0x7d,0x48,0x04,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');
TEST('vpermilps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x0c,0xf4                              ], 'MODE64');
TEST('vpermilps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x0c,0x31                              ], 'MODE64');
TEST('vpermilps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x0c,0xb4,0xf0,0x23,0x01,0x00,0x00     ], 'MODE64');
TEST('vpermilps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x0c,0x31                              ], 'MODE64');
TEST('vpermilps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x0c,0x72,0x7f                         ], 'MODE64');
TEST('vpermilps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x0c,0xb2,0x00,0x20,0x00,0x00          ], 'MODE64');
TEST('vpermilps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x0c,0x72,0x80                         ], 'MODE64');
TEST('vpermilps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x0c,0xb2,0xc0,0xdf,0xff,0xff          ], 'MODE64');
TEST('vpermilps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x0c,0x72,0x7f                         ], 'MODE64');
TEST('vpermilps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x0c,0xb2,0x00,0x02,0x00,0x00          ], 'MODE64');
TEST('vpermilps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x0c,0x72,0x80                         ], 'MODE64');
TEST('vpermilps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x0c,0xb2,0xfc,0xfd,0xff,0xff          ], 'MODE64');

TEST('vpermpd zmm30, zmm29, 171                    ', [0x62,0x03,0xfd,0x48,0x01,0xf5,0xab                         ], 'MODE64');
TEST('vpermpd zmm30, zmm29, 123                    ', [0x62,0x03,0xfd,0x48,0x01,0xf5,0x7b                         ], 'MODE64');
TEST('vpermpd zmm30, zword [rcx], 123              ', [0x62,0x63,0xfd,0x48,0x01,0x31,0x7b                         ], 'MODE64');
TEST('vpermpd zmm30, zword [rax+r14*8+0x123], 123  ', [0x62,0x23,0xfd,0x48,0x01,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpermpd zmm30, zword [rdx+0x1fc0], 123       ', [0x62,0x63,0xfd,0x48,0x01,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vpermpd zmm30, zword [rdx+0x2000], 123       ', [0x62,0x63,0xfd,0x48,0x01,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpermpd zmm30, zword [rdx-0x2000], 123       ', [0x62,0x63,0xfd,0x48,0x01,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vpermpd zmm30, zword [rdx-0x2040], 123       ', [0x62,0x63,0xfd,0x48,0x01,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');
TEST('vpermpd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x16,0xf4                              ], 'MODE64');
TEST('vpermpd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x16,0x31                              ], 'MODE64');
TEST('vpermpd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x16,0xb4,0xf0,0x23,0x01,0x00,0x00     ], 'MODE64');
TEST('vpermpd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x16,0x31                              ], 'MODE64');
TEST('vpermpd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x16,0x72,0x7f                         ], 'MODE64');
TEST('vpermpd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x16,0xb2,0x00,0x20,0x00,0x00          ], 'MODE64');
TEST('vpermpd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x16,0x72,0x80                         ], 'MODE64');
TEST('vpermpd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x16,0xb2,0xc0,0xdf,0xff,0xff          ], 'MODE64');
TEST('vpermpd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x16,0x72,0x7f                         ], 'MODE64');
TEST('vpermpd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x16,0xb2,0x00,0x04,0x00,0x00          ], 'MODE64');
TEST('vpermpd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x16,0x72,0x80                         ], 'MODE64');
TEST('vpermpd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x16,0xb2,0xf8,0xfb,0xff,0xff          ], 'MODE64');

TEST('vpermps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x16,0xf4                         ], 'MODE64');
TEST('vpermps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x16,0x31                         ], 'MODE64');
TEST('vpermps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x16,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpermps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x16,0x31                         ], 'MODE64');
TEST('vpermps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x16,0x72,0x7f                    ], 'MODE64');
TEST('vpermps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x16,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpermps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x16,0x72,0x80                    ], 'MODE64');
TEST('vpermps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x16,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpermps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x16,0x72,0x7f                    ], 'MODE64');
TEST('vpermps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x16,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpermps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x16,0x72,0x80                    ], 'MODE64');
TEST('vpermps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x16,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpermq zmm30, zmm29, 171                    ', [0x62,0x03,0xfd,0x48,0x00,0xf5,0xab                         ], 'MODE64');
TEST('vpermq zmm30, zmm29, 123                    ', [0x62,0x03,0xfd,0x48,0x00,0xf5,0x7b                         ], 'MODE64');
TEST('vpermq zmm30, zword [rcx], 123              ', [0x62,0x63,0xfd,0x48,0x00,0x31,0x7b                         ], 'MODE64');
TEST('vpermq zmm30, zword [rax+r14*8+0x123], 123  ', [0x62,0x23,0xfd,0x48,0x00,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpermq zmm30, zword [rdx+0x1fc0], 123       ', [0x62,0x63,0xfd,0x48,0x00,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vpermq zmm30, zword [rdx+0x2000], 123       ', [0x62,0x63,0xfd,0x48,0x00,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpermq zmm30, zword [rdx-0x2000], 123       ', [0x62,0x63,0xfd,0x48,0x00,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vpermq zmm30, zword [rdx-0x2040], 123       ', [0x62,0x63,0xfd,0x48,0x00,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');
TEST('vpermq zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x36,0xf4                              ], 'MODE64');
TEST('vpermq zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x36,0x31                              ], 'MODE64');
TEST('vpermq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x36,0xb4,0xf0,0x23,0x01,0x00,0x00     ], 'MODE64');
TEST('vpermq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x36,0x31                              ], 'MODE64');
TEST('vpermq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x36,0x72,0x7f                         ], 'MODE64');
TEST('vpermq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x36,0xb2,0x00,0x20,0x00,0x00          ], 'MODE64');
TEST('vpermq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x36,0x72,0x80                         ], 'MODE64');
TEST('vpermq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x36,0xb2,0xc0,0xdf,0xff,0xff          ], 'MODE64');
TEST('vpermq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x36,0x72,0x7f                         ], 'MODE64');
TEST('vpermq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x36,0xb2,0x00,0x04,0x00,0x00          ], 'MODE64');
TEST('vpermq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x36,0x72,0x80                         ], 'MODE64');
TEST('vpermq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x36,0xb2,0xf8,0xfb,0xff,0xff          ], 'MODE64');

TEST('vpermt2d zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x7e,0xf4                         ], 'MODE64');
TEST('vpermt2d zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x7e,0x31                         ], 'MODE64');
TEST('vpermt2d zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x7e,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpermt2d zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x7e,0x31                         ], 'MODE64');
TEST('vpermt2d zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x7e,0x72,0x7f                    ], 'MODE64');
TEST('vpermt2d zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x7e,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpermt2d zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x7e,0x72,0x80                    ], 'MODE64');
TEST('vpermt2d zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x7e,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpermt2d zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x7e,0x72,0x7f                    ], 'MODE64');
TEST('vpermt2d zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x7e,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpermt2d zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x7e,0x72,0x80                    ], 'MODE64');
TEST('vpermt2d zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x7e,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpermt2pd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x7f,0xf4                         ], 'MODE64');
TEST('vpermt2pd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x7f,0x31                         ], 'MODE64');
TEST('vpermt2pd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x7f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpermt2pd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x7f,0x31                         ], 'MODE64');
TEST('vpermt2pd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x7f,0x72,0x7f                    ], 'MODE64');
TEST('vpermt2pd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x7f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpermt2pd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x7f,0x72,0x80                    ], 'MODE64');
TEST('vpermt2pd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x7f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpermt2pd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x7f,0x72,0x7f                    ], 'MODE64');
TEST('vpermt2pd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x7f,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpermt2pd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x7f,0x72,0x80                    ], 'MODE64');
TEST('vpermt2pd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x7f,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpermt2ps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x7f,0xf4                         ], 'MODE64');
TEST('vpermt2ps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x7f,0x31                         ], 'MODE64');
TEST('vpermt2ps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x7f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpermt2ps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x7f,0x31                         ], 'MODE64');
TEST('vpermt2ps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x7f,0x72,0x7f                    ], 'MODE64');
TEST('vpermt2ps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x7f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpermt2ps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x7f,0x72,0x80                    ], 'MODE64');
TEST('vpermt2ps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x7f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpermt2ps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x7f,0x72,0x7f                    ], 'MODE64');
TEST('vpermt2ps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x7f,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpermt2ps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x7f,0x72,0x80                    ], 'MODE64');
TEST('vpermt2ps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x7f,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpermt2q zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x7e,0xf4                         ], 'MODE64');
TEST('vpermt2q zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x7e,0x31                         ], 'MODE64');
TEST('vpermt2q zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x7e,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpermt2q zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x7e,0x31                         ], 'MODE64');
TEST('vpermt2q zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x7e,0x72,0x7f                    ], 'MODE64');
TEST('vpermt2q zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x7e,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpermt2q zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x7e,0x72,0x80                    ], 'MODE64');
TEST('vpermt2q zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x7e,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpermt2q zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x7e,0x72,0x7f                    ], 'MODE64');
TEST('vpermt2q zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x7e,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpermt2q zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x7e,0x72,0x80                    ], 'MODE64');
TEST('vpermt2q zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x7e,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpexpandd zmm30, zword [rcx]            ', [0x62,0x62,0x7d,0x48,0x89,0x31                         ], 'MODE64');
TEST('vpexpandd zmm30, zword [rax+r14*8+0x123]', [0x62,0x22,0x7d,0x48,0x89,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpexpandd zmm30, zword [rdx+0x1fc]      ', [0x62,0x62,0x7d,0x48,0x89,0x72,0x7f                    ], 'MODE64');
TEST('vpexpandd zmm30, zword [rdx+0x200]      ', [0x62,0x62,0x7d,0x48,0x89,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpexpandd zmm30, zword [rdx-0x200]      ', [0x62,0x62,0x7d,0x48,0x89,0x72,0x80                    ], 'MODE64');
TEST('vpexpandd zmm30, zword [rdx-0x204]      ', [0x62,0x62,0x7d,0x48,0x89,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');
TEST('vpexpandd zmm30, zmm29                  ', [0x62,0x02,0x7d,0x48,0x89,0xf5                         ], 'MODE64');

TEST('vpexpandq zmm30, zword [rcx]            ', [0x62,0x62,0xfd,0x48,0x89,0x31                         ], 'MODE64');
TEST('vpexpandq zmm30, zword [rax+r14*8+0x123]', [0x62,0x22,0xfd,0x48,0x89,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpexpandq zmm30, zword [rdx+0x3f8]      ', [0x62,0x62,0xfd,0x48,0x89,0x72,0x7f                    ], 'MODE64');
TEST('vpexpandq zmm30, zword [rdx+0x400]      ', [0x62,0x62,0xfd,0x48,0x89,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpexpandq zmm30, zword [rdx-0x400]      ', [0x62,0x62,0xfd,0x48,0x89,0x72,0x80                    ], 'MODE64');
TEST('vpexpandq zmm30, zword [rdx-0x408]      ', [0x62,0x62,0xfd,0x48,0x89,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');
TEST('vpexpandq zmm30, zmm29                  ', [0x62,0x02,0xfd,0x48,0x89,0xf5                         ], 'MODE64');

TEST('vpmaxsd zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x3d,0xf4                         ], 'MODE64');
TEST('vpmaxsd zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x3d,0x31                         ], 'MODE64');
TEST('vpmaxsd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x3d,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmaxsd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x3d,0x31                         ], 'MODE64');
TEST('vpmaxsd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x3d,0x72,0x7f                    ], 'MODE64');
TEST('vpmaxsd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x3d,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpmaxsd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x3d,0x72,0x80                    ], 'MODE64');
TEST('vpmaxsd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x3d,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpmaxsd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x3d,0x72,0x7f                    ], 'MODE64');
TEST('vpmaxsd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x3d,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpmaxsd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x3d,0x72,0x80                    ], 'MODE64');
TEST('vpmaxsd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x3d,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpmaxsq zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x3d,0xf4                         ], 'MODE64');
TEST('vpmaxsq zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x3d,0x31                         ], 'MODE64');
TEST('vpmaxsq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x3d,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmaxsq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x3d,0x31                         ], 'MODE64');
TEST('vpmaxsq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x3d,0x72,0x7f                    ], 'MODE64');
TEST('vpmaxsq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x3d,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpmaxsq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x3d,0x72,0x80                    ], 'MODE64');
TEST('vpmaxsq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x3d,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpmaxsq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x3d,0x72,0x7f                    ], 'MODE64');
TEST('vpmaxsq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x3d,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpmaxsq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x3d,0x72,0x80                    ], 'MODE64');
TEST('vpmaxsq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x3d,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpmaxud zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x3f,0xf4                         ], 'MODE64');
TEST('vpmaxud zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x3f,0x31                         ], 'MODE64');
TEST('vpmaxud zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x3f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmaxud zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x3f,0x31                         ], 'MODE64');
TEST('vpmaxud zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x3f,0x72,0x7f                    ], 'MODE64');
TEST('vpmaxud zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x3f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpmaxud zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x3f,0x72,0x80                    ], 'MODE64');
TEST('vpmaxud zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x3f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpmaxud zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x3f,0x72,0x7f                    ], 'MODE64');
TEST('vpmaxud zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x3f,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpmaxud zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x3f,0x72,0x80                    ], 'MODE64');
TEST('vpmaxud zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x3f,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpmaxuq zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x3f,0xf4                         ], 'MODE64');
TEST('vpmaxuq zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x3f,0x31                         ], 'MODE64');
TEST('vpmaxuq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x3f,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmaxuq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x3f,0x31                         ], 'MODE64');
TEST('vpmaxuq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x3f,0x72,0x7f                    ], 'MODE64');
TEST('vpmaxuq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x3f,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpmaxuq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x3f,0x72,0x80                    ], 'MODE64');
TEST('vpmaxuq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x3f,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpmaxuq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x3f,0x72,0x7f                    ], 'MODE64');
TEST('vpmaxuq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x3f,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpmaxuq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x3f,0x72,0x80                    ], 'MODE64');
TEST('vpmaxuq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x3f,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpminsd zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x39,0xf4                         ], 'MODE64');
TEST('vpminsd zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x39,0x31                         ], 'MODE64');
TEST('vpminsd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x39,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpminsd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x39,0x31                         ], 'MODE64');
TEST('vpminsd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x39,0x72,0x7f                    ], 'MODE64');
TEST('vpminsd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x39,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpminsd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x39,0x72,0x80                    ], 'MODE64');
TEST('vpminsd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x39,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpminsd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x39,0x72,0x7f                    ], 'MODE64');
TEST('vpminsd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x39,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpminsd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x39,0x72,0x80                    ], 'MODE64');
TEST('vpminsd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x39,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpminsq zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x39,0xf4                         ], 'MODE64');
TEST('vpminsq zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x39,0x31                         ], 'MODE64');
TEST('vpminsq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x39,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpminsq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x39,0x31                         ], 'MODE64');
TEST('vpminsq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x39,0x72,0x7f                    ], 'MODE64');
TEST('vpminsq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x39,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpminsq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x39,0x72,0x80                    ], 'MODE64');
TEST('vpminsq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x39,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpminsq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x39,0x72,0x7f                    ], 'MODE64');
TEST('vpminsq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x39,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpminsq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x39,0x72,0x80                    ], 'MODE64');
TEST('vpminsq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x39,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpminud zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x3b,0xf4                         ], 'MODE64');
TEST('vpminud zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x3b,0x31                         ], 'MODE64');
TEST('vpminud zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x3b,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpminud zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x3b,0x31                         ], 'MODE64');
TEST('vpminud zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x3b,0x72,0x7f                    ], 'MODE64');
TEST('vpminud zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x3b,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpminud zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x3b,0x72,0x80                    ], 'MODE64');
TEST('vpminud zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x3b,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpminud zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x3b,0x72,0x7f                    ], 'MODE64');
TEST('vpminud zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x3b,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpminud zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x3b,0x72,0x80                    ], 'MODE64');
TEST('vpminud zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x3b,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpminuq zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x3b,0xf4                         ], 'MODE64');
TEST('vpminuq zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x3b,0x31                         ], 'MODE64');
TEST('vpminuq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x3b,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpminuq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x3b,0x31                         ], 'MODE64');
TEST('vpminuq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x3b,0x72,0x7f                    ], 'MODE64');
TEST('vpminuq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x3b,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpminuq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x3b,0x72,0x80                    ], 'MODE64');
TEST('vpminuq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x3b,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpminuq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x3b,0x72,0x7f                    ], 'MODE64');
TEST('vpminuq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x3b,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpminuq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x3b,0x72,0x80                    ], 'MODE64');
TEST('vpminuq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x3b,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpmovdb oword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x31,0x31                         ], 'MODE64');
TEST('vpmovdb oword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x31,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovdb oword [rdx+0x7f0], zmm30      ', [0x62,0x62,0x7e,0x48,0x31,0x72,0x7f                    ], 'MODE64');
TEST('vpmovdb oword [rdx+0x800], zmm30      ', [0x62,0x62,0x7e,0x48,0x31,0xb2,0x00,0x08,0x00,0x00     ], 'MODE64');
TEST('vpmovdb oword [rdx-0x800], zmm30      ', [0x62,0x62,0x7e,0x48,0x31,0x72,0x80                    ], 'MODE64');
TEST('vpmovdb oword [rdx-0x810], zmm30      ', [0x62,0x62,0x7e,0x48,0x31,0xb2,0xf0,0xf7,0xff,0xff     ], 'MODE64');

TEST('vpmovdw yword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x33,0x31                         ], 'MODE64');
TEST('vpmovdw yword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x33,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovdw yword [rdx+0xfe0], zmm30      ', [0x62,0x62,0x7e,0x48,0x33,0x72,0x7f                    ], 'MODE64');
TEST('vpmovdw yword [rdx+0x1000], zmm30     ', [0x62,0x62,0x7e,0x48,0x33,0xb2,0x00,0x10,0x00,0x00     ], 'MODE64');
TEST('vpmovdw yword [rdx-0x1000], zmm30     ', [0x62,0x62,0x7e,0x48,0x33,0x72,0x80                    ], 'MODE64');
TEST('vpmovdw yword [rdx-0x1020], zmm30     ', [0x62,0x62,0x7e,0x48,0x33,0xb2,0xe0,0xef,0xff,0xff     ], 'MODE64');

TEST('vpmovqb qword [rdx+0x3f8], zmm30      ', [0x62,0x62,0x7e,0x48,0x32,0x72,0x7f                    ], 'MODE64');
TEST('vpmovqb qword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x32,0x31                         ], 'MODE64');
TEST('vpmovqb qword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x32,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovqb qword [rdx+0x400], zmm30      ', [0x62,0x62,0x7e,0x48,0x32,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpmovqb qword [rdx-0x400], zmm30      ', [0x62,0x62,0x7e,0x48,0x32,0x72,0x80                    ], 'MODE64');
TEST('vpmovqb qword [rdx-0x408], zmm30      ', [0x62,0x62,0x7e,0x48,0x32,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpmovqd yword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x35,0x31                         ], 'MODE64');
TEST('vpmovqd yword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x35,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovqd yword [rdx+0xfe0], zmm30      ', [0x62,0x62,0x7e,0x48,0x35,0x72,0x7f                    ], 'MODE64');
TEST('vpmovqd yword [rdx+0x1000], zmm30     ', [0x62,0x62,0x7e,0x48,0x35,0xb2,0x00,0x10,0x00,0x00     ], 'MODE64');
TEST('vpmovqd yword [rdx-0x1000], zmm30     ', [0x62,0x62,0x7e,0x48,0x35,0x72,0x80                    ], 'MODE64');
TEST('vpmovqd yword [rdx-0x1020], zmm30     ', [0x62,0x62,0x7e,0x48,0x35,0xb2,0xe0,0xef,0xff,0xff     ], 'MODE64');

TEST('vpmovqw oword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x34,0x31                         ], 'MODE64');
TEST('vpmovqw oword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x34,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovqw oword [rdx+0x7f0], zmm30      ', [0x62,0x62,0x7e,0x48,0x34,0x72,0x7f                    ], 'MODE64');
TEST('vpmovqw oword [rdx+0x800], zmm30      ', [0x62,0x62,0x7e,0x48,0x34,0xb2,0x00,0x08,0x00,0x00     ], 'MODE64');
TEST('vpmovqw oword [rdx-0x800], zmm30      ', [0x62,0x62,0x7e,0x48,0x34,0x72,0x80                    ], 'MODE64');
TEST('vpmovqw oword [rdx-0x810], zmm30      ', [0x62,0x62,0x7e,0x48,0x34,0xb2,0xf0,0xf7,0xff,0xff     ], 'MODE64');

TEST('vpmovsdb oword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x21,0x31                         ], 'MODE64');
TEST('vpmovsdb oword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x21,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovsdb oword [rdx+0x7f0], zmm30      ', [0x62,0x62,0x7e,0x48,0x21,0x72,0x7f                    ], 'MODE64');
TEST('vpmovsdb oword [rdx+0x800], zmm30      ', [0x62,0x62,0x7e,0x48,0x21,0xb2,0x00,0x08,0x00,0x00     ], 'MODE64');
TEST('vpmovsdb oword [rdx-0x800], zmm30      ', [0x62,0x62,0x7e,0x48,0x21,0x72,0x80                    ], 'MODE64');
TEST('vpmovsdb oword [rdx-0x810], zmm30      ', [0x62,0x62,0x7e,0x48,0x21,0xb2,0xf0,0xf7,0xff,0xff     ], 'MODE64');

TEST('vpmovsdw yword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x23,0x31                         ], 'MODE64');
TEST('vpmovsdw yword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x23,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovsdw yword [rdx+0xfe0], zmm30      ', [0x62,0x62,0x7e,0x48,0x23,0x72,0x7f                    ], 'MODE64');
TEST('vpmovsdw yword [rdx+0x1000], zmm30     ', [0x62,0x62,0x7e,0x48,0x23,0xb2,0x00,0x10,0x00,0x00     ], 'MODE64');
TEST('vpmovsdw yword [rdx-0x1000], zmm30     ', [0x62,0x62,0x7e,0x48,0x23,0x72,0x80                    ], 'MODE64');
TEST('vpmovsdw yword [rdx-0x1020], zmm30     ', [0x62,0x62,0x7e,0x48,0x23,0xb2,0xe0,0xef,0xff,0xff     ], 'MODE64');

TEST('vpmovsqb qword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x22,0x31                         ], 'MODE64');
TEST('vpmovsqb qword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x22,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovsqb qword [rdx+0x3f8], zmm30      ', [0x62,0x62,0x7e,0x48,0x22,0x72,0x7f                    ], 'MODE64');
TEST('vpmovsqb qword [rdx+0x400], zmm30      ', [0x62,0x62,0x7e,0x48,0x22,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpmovsqb qword [rdx-0x400], zmm30      ', [0x62,0x62,0x7e,0x48,0x22,0x72,0x80                    ], 'MODE64');
TEST('vpmovsqb qword [rdx-0x408], zmm30      ', [0x62,0x62,0x7e,0x48,0x22,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpmovsqd yword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x25,0x31                         ], 'MODE64');
TEST('vpmovsqd yword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x25,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovsqd yword [rdx+0xfe0], zmm30      ', [0x62,0x62,0x7e,0x48,0x25,0x72,0x7f                    ], 'MODE64');
TEST('vpmovsqd yword [rdx+0x1000], zmm30     ', [0x62,0x62,0x7e,0x48,0x25,0xb2,0x00,0x10,0x00,0x00     ], 'MODE64');
TEST('vpmovsqd yword [rdx-0x1000], zmm30     ', [0x62,0x62,0x7e,0x48,0x25,0x72,0x80                    ], 'MODE64');
TEST('vpmovsqd yword [rdx-0x1020], zmm30     ', [0x62,0x62,0x7e,0x48,0x25,0xb2,0xe0,0xef,0xff,0xff     ], 'MODE64');

TEST('vpmovsqw oword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x24,0x31                         ], 'MODE64');
TEST('vpmovsqw oword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x24,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovsqw oword [rdx+0x7f0], zmm30      ', [0x62,0x62,0x7e,0x48,0x24,0x72,0x7f                    ], 'MODE64');
TEST('vpmovsqw oword [rdx+0x800], zmm30      ', [0x62,0x62,0x7e,0x48,0x24,0xb2,0x00,0x08,0x00,0x00     ], 'MODE64');
TEST('vpmovsqw oword [rdx-0x800], zmm30      ', [0x62,0x62,0x7e,0x48,0x24,0x72,0x80                    ], 'MODE64');
TEST('vpmovsqw oword [rdx-0x810], zmm30      ', [0x62,0x62,0x7e,0x48,0x24,0xb2,0xf0,0xf7,0xff,0xff     ], 'MODE64');

TEST('vpmovusdb oword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x11,0x31                         ], 'MODE64');
TEST('vpmovusdb oword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x11,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovusdb oword [rdx+0x7f0], zmm30      ', [0x62,0x62,0x7e,0x48,0x11,0x72,0x7f                    ], 'MODE64');
TEST('vpmovusdb oword [rdx+0x800], zmm30      ', [0x62,0x62,0x7e,0x48,0x11,0xb2,0x00,0x08,0x00,0x00     ], 'MODE64');
TEST('vpmovusdb oword [rdx-0x800], zmm30      ', [0x62,0x62,0x7e,0x48,0x11,0x72,0x80                    ], 'MODE64');
TEST('vpmovusdb oword [rdx-0x810], zmm30      ', [0x62,0x62,0x7e,0x48,0x11,0xb2,0xf0,0xf7,0xff,0xff     ], 'MODE64');

TEST('vpmovusdw yword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x13,0x31                         ], 'MODE64');
TEST('vpmovusdw yword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x13,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovusdw yword [rdx+0xfe0], zmm30      ', [0x62,0x62,0x7e,0x48,0x13,0x72,0x7f                    ], 'MODE64');
TEST('vpmovusdw yword [rdx+0x1000], zmm30     ', [0x62,0x62,0x7e,0x48,0x13,0xb2,0x00,0x10,0x00,0x00     ], 'MODE64');
TEST('vpmovusdw yword [rdx-0x1000], zmm30     ', [0x62,0x62,0x7e,0x48,0x13,0x72,0x80                    ], 'MODE64');
TEST('vpmovusdw yword [rdx-0x1020], zmm30     ', [0x62,0x62,0x7e,0x48,0x13,0xb2,0xe0,0xef,0xff,0xff     ], 'MODE64');

TEST('vpmovusqb qword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x12,0x31                         ], 'MODE64');
TEST('vpmovusqb qword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x12,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovusqb qword [rdx+0x3f8], zmm30      ', [0x62,0x62,0x7e,0x48,0x12,0x72,0x7f                    ], 'MODE64');
TEST('vpmovusqb qword [rdx+0x400], zmm30      ', [0x62,0x62,0x7e,0x48,0x12,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpmovusqb qword [rdx-0x400], zmm30      ', [0x62,0x62,0x7e,0x48,0x12,0x72,0x80                    ], 'MODE64');
TEST('vpmovusqb qword [rdx-0x408], zmm30      ', [0x62,0x62,0x7e,0x48,0x12,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpmovusqd yword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x15,0x31                         ], 'MODE64');
TEST('vpmovusqd yword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x15,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovusqd yword [rdx+0xfe0], zmm30      ', [0x62,0x62,0x7e,0x48,0x15,0x72,0x7f                    ], 'MODE64');
TEST('vpmovusqd yword [rdx+0x1000], zmm30     ', [0x62,0x62,0x7e,0x48,0x15,0xb2,0x00,0x10,0x00,0x00     ], 'MODE64');
TEST('vpmovusqd yword [rdx-0x1000], zmm30     ', [0x62,0x62,0x7e,0x48,0x15,0x72,0x80                    ], 'MODE64');
TEST('vpmovusqd yword [rdx-0x1020], zmm30     ', [0x62,0x62,0x7e,0x48,0x15,0xb2,0xe0,0xef,0xff,0xff     ], 'MODE64');

TEST('vpmovusqw oword [rcx], zmm30            ', [0x62,0x62,0x7e,0x48,0x14,0x31                         ], 'MODE64');
TEST('vpmovusqw oword [rax+r14*8+0x123], zmm30', [0x62,0x22,0x7e,0x48,0x14,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmovusqw oword [rdx+0x7f0], zmm30      ', [0x62,0x62,0x7e,0x48,0x14,0x72,0x7f                    ], 'MODE64');
TEST('vpmovusqw oword [rdx+0x800], zmm30      ', [0x62,0x62,0x7e,0x48,0x14,0xb2,0x00,0x08,0x00,0x00     ], 'MODE64');
TEST('vpmovusqw oword [rdx-0x800], zmm30      ', [0x62,0x62,0x7e,0x48,0x14,0x72,0x80                    ], 'MODE64');
TEST('vpmovusqw oword [rdx-0x810], zmm30      ', [0x62,0x62,0x7e,0x48,0x14,0xb2,0xf0,0xf7,0xff,0xff     ], 'MODE64');

TEST('vpmuldq zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x28,0xf4                         ], 'MODE64');
TEST('vpmuldq zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x28,0x31                         ], 'MODE64');
TEST('vpmuldq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x28,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmuldq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x28,0x31                         ], 'MODE64');
TEST('vpmuldq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x28,0x72,0x7f                    ], 'MODE64');
TEST('vpmuldq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x28,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpmuldq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x28,0x72,0x80                    ], 'MODE64');
TEST('vpmuldq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x28,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpmuldq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x28,0x72,0x7f                    ], 'MODE64');
TEST('vpmuldq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x28,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpmuldq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x28,0x72,0x80                    ], 'MODE64');
TEST('vpmuldq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x28,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpmulld zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x40,0xf4                         ], 'MODE64');
TEST('vpmulld zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x40,0x31                         ], 'MODE64');
TEST('vpmulld zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x40,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmulld zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x40,0x31                         ], 'MODE64');
TEST('vpmulld zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x40,0x72,0x7f                    ], 'MODE64');
TEST('vpmulld zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x40,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpmulld zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x40,0x72,0x80                    ], 'MODE64');
TEST('vpmulld zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x40,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpmulld zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x40,0x72,0x7f                    ], 'MODE64');
TEST('vpmulld zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x40,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpmulld zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x40,0x72,0x80                    ], 'MODE64');
TEST('vpmulld zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x40,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpmuludq zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0xf4,0xf4                         ], 'MODE64');
TEST('vpmuludq zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0xf4,0x31                         ], 'MODE64');
TEST('vpmuludq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0xf4,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpmuludq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0xf4,0x31                         ], 'MODE64');
TEST('vpmuludq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0xf4,0x72,0x7f                    ], 'MODE64');
TEST('vpmuludq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0xf4,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpmuludq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0xf4,0x72,0x80                    ], 'MODE64');
TEST('vpmuludq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0xf4,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpmuludq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0xf4,0x72,0x7f                    ], 'MODE64');
TEST('vpmuludq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0xf4,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpmuludq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0xf4,0x72,0x80                    ], 'MODE64');
TEST('vpmuludq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0xf4,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpord zmm30, zmm29, zmm28                   ', [0x62,0x01,0x15,0x40,0xeb,0xf4                         ], 'MODE64');
TEST('vpord zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x15,0x40,0xeb,0x31                         ], 'MODE64');
TEST('vpord zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x15,0x40,0xeb,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpord zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x15,0x50,0xeb,0x31                         ], 'MODE64');
TEST('vpord zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x15,0x40,0xeb,0x72,0x7f                    ], 'MODE64');
TEST('vpord zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x15,0x40,0xeb,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpord zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x15,0x40,0xeb,0x72,0x80                    ], 'MODE64');
TEST('vpord zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x15,0x40,0xeb,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpord zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x15,0x50,0xeb,0x72,0x7f                    ], 'MODE64');
TEST('vpord zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x15,0x50,0xeb,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpord zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x15,0x50,0xeb,0x72,0x80                    ], 'MODE64');
TEST('vpord zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x15,0x50,0xeb,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vporq zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0xeb,0xf4                         ], 'MODE64');
TEST('vporq zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0xeb,0x31                         ], 'MODE64');
TEST('vporq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0xeb,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vporq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0xeb,0x31                         ], 'MODE64');
TEST('vporq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0xeb,0x72,0x7f                    ], 'MODE64');
TEST('vporq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0xeb,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vporq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0xeb,0x72,0x80                    ], 'MODE64');
TEST('vporq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0xeb,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vporq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0xeb,0x72,0x7f                    ], 'MODE64');
TEST('vporq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0xeb,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vporq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0xeb,0x72,0x80                    ], 'MODE64');
TEST('vporq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0xeb,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vprold zmm30, zmm29, 171                  ', [0x62,0x91,0x0d,0x40,0x72,0xcd,0xab                         ], 'MODE64');
TEST('vprold zmm30, zmm29, 123                  ', [0x62,0x91,0x0d,0x40,0x72,0xcd,0x7b                         ], 'MODE64');
TEST('vprold zmm30, zword [rcx], 123            ', [0x62,0xf1,0x0d,0x40,0x72,0x09,0x7b                         ], 'MODE64');
TEST('vprold zmm30, zword [rax+r14*8+0x123], 123', [0x62,0xb1,0x0d,0x40,0x72,0x8c,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vprold zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x4a,0x7f,0x7b                    ], 'MODE64');
TEST('vprold zmm30, zword [rdx+0x2000], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x8a,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vprold zmm30, zword [rdx-0x2000], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x4a,0x80,0x7b                    ], 'MODE64');
TEST('vprold zmm30, zword [rdx-0x2040], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x8a,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vprolq zmm30, zmm29, 171                  ', [0x62,0x91,0x8d,0x40,0x72,0xcd,0xab                         ], 'MODE64');
TEST('vprolq zmm30, zmm29, 123                  ', [0x62,0x91,0x8d,0x40,0x72,0xcd,0x7b                         ], 'MODE64');
TEST('vprolq zmm30, zword [rcx], 123            ', [0x62,0xf1,0x8d,0x40,0x72,0x09,0x7b                         ], 'MODE64');
TEST('vprolq zmm30, zword [rax+r14*8+0x123], 123', [0x62,0xb1,0x8d,0x40,0x72,0x8c,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vprolq zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0xf1,0x8d,0x40,0x72,0x4a,0x7f,0x7b                    ], 'MODE64');
TEST('vprolq zmm30, zword [rdx+0x2000], 123     ', [0x62,0xf1,0x8d,0x40,0x72,0x8a,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vprolq zmm30, zword [rdx-0x2000], 123     ', [0x62,0xf1,0x8d,0x40,0x72,0x4a,0x80,0x7b                    ], 'MODE64');
TEST('vprolq zmm30, zword [rdx-0x2040], 123     ', [0x62,0xf1,0x8d,0x40,0x72,0x8a,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vprolvd zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x15,0xf4                         ], 'MODE64');
TEST('vprolvd zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x15,0x31                         ], 'MODE64');
TEST('vprolvd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x15,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vprolvd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x15,0x31                         ], 'MODE64');
TEST('vprolvd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x15,0x72,0x7f                    ], 'MODE64');
TEST('vprolvd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x15,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vprolvd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x15,0x72,0x80                    ], 'MODE64');
TEST('vprolvd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x15,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vprolvd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x15,0x72,0x7f                    ], 'MODE64');
TEST('vprolvd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x15,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vprolvd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x15,0x72,0x80                    ], 'MODE64');
TEST('vprolvd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x15,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vprolvq zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x15,0xf4                         ], 'MODE64');
TEST('vprolvq zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x15,0x31                         ], 'MODE64');
TEST('vprolvq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x15,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vprolvq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x15,0x31                         ], 'MODE64');
TEST('vprolvq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x15,0x72,0x7f                    ], 'MODE64');
TEST('vprolvq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x15,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vprolvq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x15,0x72,0x80                    ], 'MODE64');
TEST('vprolvq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x15,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vprolvq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x15,0x72,0x7f                    ], 'MODE64');
TEST('vprolvq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x15,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vprolvq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x15,0x72,0x80                    ], 'MODE64');
TEST('vprolvq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x15,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vprord zmm30, zmm29, 171                  ', [0x62,0x91,0x0d,0x40,0x72,0xc5,0xab                         ], 'MODE64');
TEST('vprord zmm30, zmm29, 123                  ', [0x62,0x91,0x0d,0x40,0x72,0xc5,0x7b                         ], 'MODE64');
TEST('vprord zmm30, zword [rcx], 123            ', [0x62,0xf1,0x0d,0x40,0x72,0x01,0x7b                         ], 'MODE64');
TEST('vprord zmm30, zword [rax+r14*8+0x123], 123', [0x62,0xb1,0x0d,0x40,0x72,0x84,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vprord zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x42,0x7f,0x7b                    ], 'MODE64');
TEST('vprord zmm30, zword [rdx+0x2000], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x82,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vprord zmm30, zword [rdx-0x2000], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x42,0x80,0x7b                    ], 'MODE64');
TEST('vprord zmm30, zword [rdx-0x2040], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x82,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vprorq zmm30, zmm29, 171                  ', [0x62,0x91,0x8d,0x40,0x72,0xc5,0xab                         ], 'MODE64');
TEST('vprorq zmm30, zmm29, 123                  ', [0x62,0x91,0x8d,0x40,0x72,0xc5,0x7b                         ], 'MODE64');
TEST('vprorq zmm30, zword [rcx], 123            ', [0x62,0xf1,0x8d,0x40,0x72,0x01,0x7b                         ], 'MODE64');
TEST('vprorq zmm30, zword [rax+r14*8+0x123], 123', [0x62,0xb1,0x8d,0x40,0x72,0x84,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vprorq zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0xf1,0x8d,0x40,0x72,0x42,0x7f,0x7b                    ], 'MODE64');
TEST('vprorq zmm30, zword [rdx+0x2000], 123     ', [0x62,0xf1,0x8d,0x40,0x72,0x82,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vprorq zmm30, zword [rdx-0x2000], 123     ', [0x62,0xf1,0x8d,0x40,0x72,0x42,0x80,0x7b                    ], 'MODE64');
TEST('vprorq zmm30, zword [rdx-0x2040], 123     ', [0x62,0xf1,0x8d,0x40,0x72,0x82,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vprorvd zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x14,0xf4                         ], 'MODE64');
TEST('vprorvd zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x14,0x31                         ], 'MODE64');
TEST('vprorvd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x14,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vprorvd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x14,0x31                         ], 'MODE64');
TEST('vprorvd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x14,0x72,0x7f                    ], 'MODE64');
TEST('vprorvd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x14,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vprorvd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x14,0x72,0x80                    ], 'MODE64');
TEST('vprorvd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x14,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vprorvd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x14,0x72,0x7f                    ], 'MODE64');
TEST('vprorvd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x14,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vprorvd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x14,0x72,0x80                    ], 'MODE64');
TEST('vprorvd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x14,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vprorvq zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x14,0xf4                         ], 'MODE64');
TEST('vprorvq zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x14,0x31                         ], 'MODE64');
TEST('vprorvq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x14,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vprorvq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x14,0x31                         ], 'MODE64');
TEST('vprorvq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x14,0x72,0x7f                    ], 'MODE64');
TEST('vprorvq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x14,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vprorvq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x14,0x72,0x80                    ], 'MODE64');
TEST('vprorvq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x14,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vprorvq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x14,0x72,0x7f                    ], 'MODE64');
TEST('vprorvq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x14,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vprorvq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x14,0x72,0x80                    ], 'MODE64');
TEST('vprorvq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x14,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpshufd zmm30, zmm29, 171                  ', [0x62,0x01,0x7d,0x48,0x70,0xf5,0xab                         ], 'MODE64');
TEST('vpshufd zmm30, zmm29, 123                  ', [0x62,0x01,0x7d,0x48,0x70,0xf5,0x7b                         ], 'MODE64');
TEST('vpshufd zmm30, zword [rcx], 123            ', [0x62,0x61,0x7d,0x48,0x70,0x31,0x7b                         ], 'MODE64');
TEST('vpshufd zmm30, zword [rax+r14*8+0x123], 123', [0x62,0x21,0x7d,0x48,0x70,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpshufd zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0x61,0x7d,0x48,0x70,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vpshufd zmm30, zword [rdx+0x2000], 123     ', [0x62,0x61,0x7d,0x48,0x70,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpshufd zmm30, zword [rdx-0x2000], 123     ', [0x62,0x61,0x7d,0x48,0x70,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vpshufd zmm30, zword [rdx-0x2040], 123     ', [0x62,0x61,0x7d,0x48,0x70,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vpslld zmm30, zmm29, 171                  ', [0x62,0x91,0x0d,0x40,0x72,0xf5,0xab                         ], 'MODE64');
TEST('vpslld zmm30, zmm29, 123                  ', [0x62,0x91,0x0d,0x40,0x72,0xf5,0x7b                         ], 'MODE64');
TEST('vpslld zmm30, zword [rcx], 123            ', [0x62,0xf1,0x0d,0x40,0x72,0x31,0x7b                         ], 'MODE64');
TEST('vpslld zmm30, zword [rax+r14*8+0x123], 123', [0x62,0xb1,0x0d,0x40,0x72,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpslld zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vpslld zmm30, zword [rdx+0x2000], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpslld zmm30, zword [rdx-0x2000], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vpslld zmm30, zword [rdx-0x2040], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vpsllq zmm30, zmm29, 171                  ', [0x62,0x91,0x8d,0x40,0x73,0xf5,0xab                         ], 'MODE64');
TEST('vpsllq zmm30, zmm29, 123                  ', [0x62,0x91,0x8d,0x40,0x73,0xf5,0x7b                         ], 'MODE64');
TEST('vpsllq zmm30, zword [rcx], 123            ', [0x62,0xf1,0x8d,0x40,0x73,0x31,0x7b                         ], 'MODE64');
TEST('vpsllq zmm30, zword [rax+r14*8+0x123], 123', [0x62,0xb1,0x8d,0x40,0x73,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpsllq zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0xf1,0x8d,0x40,0x73,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vpsllq zmm30, zword [rdx+0x2000], 123     ', [0x62,0xf1,0x8d,0x40,0x73,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpsllq zmm30, zword [rdx-0x2000], 123     ', [0x62,0xf1,0x8d,0x40,0x73,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vpsllq zmm30, zword [rdx-0x2040], 123     ', [0x62,0xf1,0x8d,0x40,0x73,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vpsllvd zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x47,0xf4                         ], 'MODE64');
TEST('vpsllvd zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x47,0x31                         ], 'MODE64');
TEST('vpsllvd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x47,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpsllvd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x47,0x31                         ], 'MODE64');
TEST('vpsllvd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x47,0x72,0x7f                    ], 'MODE64');
TEST('vpsllvd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x47,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpsllvd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x47,0x72,0x80                    ], 'MODE64');
TEST('vpsllvd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x47,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpsllvd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x47,0x72,0x7f                    ], 'MODE64');
TEST('vpsllvd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x47,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpsllvd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x47,0x72,0x80                    ], 'MODE64');
TEST('vpsllvd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x47,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpsllvq zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x47,0xf4                         ], 'MODE64');
TEST('vpsllvq zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x47,0x31                         ], 'MODE64');
TEST('vpsllvq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x47,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpsllvq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x47,0x31                         ], 'MODE64');
TEST('vpsllvq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x47,0x72,0x7f                    ], 'MODE64');
TEST('vpsllvq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x47,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpsllvq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x47,0x72,0x80                    ], 'MODE64');
TEST('vpsllvq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x47,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpsllvq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x47,0x72,0x7f                    ], 'MODE64');
TEST('vpsllvq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x47,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpsllvq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x47,0x72,0x80                    ], 'MODE64');
TEST('vpsllvq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x47,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpsrad zmm30, zmm29, 171                  ', [0x62,0x91,0x0d,0x40,0x72,0xe5,0xab                         ], 'MODE64');
TEST('vpsrad zmm30, zmm29, 123                  ', [0x62,0x91,0x0d,0x40,0x72,0xe5,0x7b                         ], 'MODE64');
TEST('vpsrad zmm30, zword [rcx], 123            ', [0x62,0xf1,0x0d,0x40,0x72,0x21,0x7b                         ], 'MODE64');
TEST('vpsrad zmm30, zword [rax+r14*8+0x123], 123', [0x62,0xb1,0x0d,0x40,0x72,0xa4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpsrad zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x62,0x7f,0x7b                    ], 'MODE64');
TEST('vpsrad zmm30, zword [rdx+0x2000], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0xa2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpsrad zmm30, zword [rdx-0x2000], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x62,0x80,0x7b                    ], 'MODE64');
TEST('vpsrad zmm30, zword [rdx-0x2040], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0xa2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vpsraq zmm30, zmm29, 171                  ', [0x62,0x91,0x8d,0x40,0x72,0xe5,0xab                         ], 'MODE64');
TEST('vpsraq zmm30, zmm29, 123                  ', [0x62,0x91,0x8d,0x40,0x72,0xe5,0x7b                         ], 'MODE64');
TEST('vpsraq zmm30, zword [rcx], 123            ', [0x62,0xf1,0x8d,0x40,0x72,0x21,0x7b                         ], 'MODE64');
TEST('vpsraq zmm30, zword [rax+r14*8+0x123], 123', [0x62,0xb1,0x8d,0x40,0x72,0xa4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpsraq zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0xf1,0x8d,0x40,0x72,0x62,0x7f,0x7b                    ], 'MODE64');
TEST('vpsraq zmm30, zword [rdx+0x2000], 123     ', [0x62,0xf1,0x8d,0x40,0x72,0xa2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpsraq zmm30, zword [rdx-0x2000], 123     ', [0x62,0xf1,0x8d,0x40,0x72,0x62,0x80,0x7b                    ], 'MODE64');
TEST('vpsraq zmm30, zword [rdx-0x2040], 123     ', [0x62,0xf1,0x8d,0x40,0x72,0xa2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vpsravd zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x46,0xf4                         ], 'MODE64');
TEST('vpsravd zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x46,0x31                         ], 'MODE64');
TEST('vpsravd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x46,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpsravd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x46,0x31                         ], 'MODE64');
TEST('vpsravd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x46,0x72,0x7f                    ], 'MODE64');
TEST('vpsravd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x46,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpsravd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x46,0x72,0x80                    ], 'MODE64');
TEST('vpsravd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x46,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpsravd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x46,0x72,0x7f                    ], 'MODE64');
TEST('vpsravd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x46,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpsravd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x46,0x72,0x80                    ], 'MODE64');
TEST('vpsravd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x46,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpsravq zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x46,0xf4                         ], 'MODE64');
TEST('vpsravq zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x46,0x31                         ], 'MODE64');
TEST('vpsravq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x46,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpsravq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x46,0x31                         ], 'MODE64');
TEST('vpsravq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x46,0x72,0x7f                    ], 'MODE64');
TEST('vpsravq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x46,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpsravq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x46,0x72,0x80                    ], 'MODE64');
TEST('vpsravq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x46,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpsravq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x46,0x72,0x7f                    ], 'MODE64');
TEST('vpsravq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x46,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpsravq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x46,0x72,0x80                    ], 'MODE64');
TEST('vpsravq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x46,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpsrld zmm30, zmm29, 171                  ', [0x62,0x91,0x0d,0x40,0x72,0xd5,0xab                         ], 'MODE64');
TEST('vpsrld zmm30, zmm29, 123                  ', [0x62,0x91,0x0d,0x40,0x72,0xd5,0x7b                         ], 'MODE64');
TEST('vpsrld zmm30, zword [rcx], 123            ', [0x62,0xf1,0x0d,0x40,0x72,0x11,0x7b                         ], 'MODE64');
TEST('vpsrld zmm30, zword [rax+r14*8+0x123], 123', [0x62,0xb1,0x0d,0x40,0x72,0x94,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpsrld zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x52,0x7f,0x7b                    ], 'MODE64');
TEST('vpsrld zmm30, zword [rdx+0x2000], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x92,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpsrld zmm30, zword [rdx-0x2000], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x52,0x80,0x7b                    ], 'MODE64');
TEST('vpsrld zmm30, zword [rdx-0x2040], 123     ', [0x62,0xf1,0x0d,0x40,0x72,0x92,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vpsrlq zmm30, zmm29, 171                  ', [0x62,0x91,0x8d,0x40,0x73,0xd5,0xab                         ], 'MODE64');
TEST('vpsrlq zmm30, zmm29, 123                  ', [0x62,0x91,0x8d,0x40,0x73,0xd5,0x7b                         ], 'MODE64');
TEST('vpsrlq zmm30, zword [rcx], 123            ', [0x62,0xf1,0x8d,0x40,0x73,0x11,0x7b                         ], 'MODE64');
TEST('vpsrlq zmm30, zword [rax+r14*8+0x123], 123', [0x62,0xb1,0x8d,0x40,0x73,0x94,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpsrlq zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0xf1,0x8d,0x40,0x73,0x52,0x7f,0x7b                    ], 'MODE64');
TEST('vpsrlq zmm30, zword [rdx+0x2000], 123     ', [0x62,0xf1,0x8d,0x40,0x73,0x92,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpsrlq zmm30, zword [rdx-0x2000], 123     ', [0x62,0xf1,0x8d,0x40,0x73,0x52,0x80,0x7b                    ], 'MODE64');
TEST('vpsrlq zmm30, zword [rdx-0x2040], 123     ', [0x62,0xf1,0x8d,0x40,0x73,0x92,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vpsrlvd zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x45,0xf4                         ], 'MODE64');
TEST('vpsrlvd zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x45,0x31                         ], 'MODE64');
TEST('vpsrlvd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x45,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpsrlvd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x45,0x31                         ], 'MODE64');
TEST('vpsrlvd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x45,0x72,0x7f                    ], 'MODE64');
TEST('vpsrlvd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x45,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpsrlvd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x45,0x72,0x80                    ], 'MODE64');
TEST('vpsrlvd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x45,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpsrlvd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x45,0x72,0x7f                    ], 'MODE64');
TEST('vpsrlvd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x45,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpsrlvd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x45,0x72,0x80                    ], 'MODE64');
TEST('vpsrlvd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x45,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpsrlvq zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x45,0xf4                         ], 'MODE64');
TEST('vpsrlvq zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x45,0x31                         ], 'MODE64');
TEST('vpsrlvq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x45,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpsrlvq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x45,0x31                         ], 'MODE64');
TEST('vpsrlvq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x45,0x72,0x7f                    ], 'MODE64');
TEST('vpsrlvq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x45,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpsrlvq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x45,0x72,0x80                    ], 'MODE64');
TEST('vpsrlvq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x45,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpsrlvq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x45,0x72,0x7f                    ], 'MODE64');
TEST('vpsrlvq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x45,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpsrlvq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x45,0x72,0x80                    ], 'MODE64');
TEST('vpsrlvq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x45,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpsubd zmm30, zmm29, zmm28                   ', [0x62,0x01,0x15,0x40,0xfa,0xf4                         ], 'MODE64');
TEST('vpsubd zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x15,0x40,0xfa,0x31                         ], 'MODE64');
TEST('vpsubd zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x15,0x40,0xfa,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpsubd zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x15,0x50,0xfa,0x31                         ], 'MODE64');
TEST('vpsubd zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x15,0x40,0xfa,0x72,0x7f                    ], 'MODE64');
TEST('vpsubd zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x15,0x40,0xfa,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpsubd zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x15,0x40,0xfa,0x72,0x80                    ], 'MODE64');
TEST('vpsubd zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x15,0x40,0xfa,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpsubd zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x15,0x50,0xfa,0x72,0x7f                    ], 'MODE64');
TEST('vpsubd zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x15,0x50,0xfa,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpsubd zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x15,0x50,0xfa,0x72,0x80                    ], 'MODE64');
TEST('vpsubd zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x15,0x50,0xfa,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpsubq zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0xfb,0xf4                         ], 'MODE64');
TEST('vpsubq zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0xfb,0x31                         ], 'MODE64');
TEST('vpsubq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0xfb,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpsubq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0xfb,0x31                         ], 'MODE64');
TEST('vpsubq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0xfb,0x72,0x7f                    ], 'MODE64');
TEST('vpsubq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0xfb,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpsubq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0xfb,0x72,0x80                    ], 'MODE64');
TEST('vpsubq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0xfb,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpsubq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0xfb,0x72,0x7f                    ], 'MODE64');
TEST('vpsubq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0xfb,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpsubq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0xfb,0x72,0x80                    ], 'MODE64');
TEST('vpsubq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0xfb,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpternlogd zmm30, zmm29, zmm28, 171                  ', [0x62,0x03,0x15,0x40,0x25,0xf4,0xab                         ], 'MODE64');
TEST('vpternlogd zmm30, zmm29, zmm28, 123                  ', [0x62,0x03,0x15,0x40,0x25,0xf4,0x7b                         ], 'MODE64');
TEST('vpternlogd zmm30, zmm29, zword [rcx], 123            ', [0x62,0x63,0x15,0x40,0x25,0x31,0x7b                         ], 'MODE64');
TEST('vpternlogd zmm30, zmm29, zword [rax+r14*8+0x123], 123', [0x62,0x23,0x15,0x40,0x25,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpternlogd zmm30, zmm29, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0x15,0x40,0x25,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vpternlogd zmm30, zmm29, zword [rdx+0x2000], 123     ', [0x62,0x63,0x15,0x40,0x25,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpternlogd zmm30, zmm29, zword [rdx-0x2000], 123     ', [0x62,0x63,0x15,0x40,0x25,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vpternlogd zmm30, zmm29, zword [rdx-0x2040], 123     ', [0x62,0x63,0x15,0x40,0x25,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vpternlogq zmm30, zmm29, zmm28, 171                  ', [0x62,0x03,0x95,0x40,0x25,0xf4,0xab                         ], 'MODE64');
TEST('vpternlogq zmm30, zmm29, zmm28, 123                  ', [0x62,0x03,0x95,0x40,0x25,0xf4,0x7b                         ], 'MODE64');
TEST('vpternlogq zmm30, zmm29, zword [rcx], 123            ', [0x62,0x63,0x95,0x40,0x25,0x31,0x7b                         ], 'MODE64');
TEST('vpternlogq zmm30, zmm29, zword [rax+r14*8+0x123], 123', [0x62,0x23,0x95,0x40,0x25,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vpternlogq zmm30, zmm29, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0x95,0x40,0x25,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vpternlogq zmm30, zmm29, zword [rdx+0x2000], 123     ', [0x62,0x63,0x95,0x40,0x25,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vpternlogq zmm30, zmm29, zword [rdx-0x2000], 123     ', [0x62,0x63,0x95,0x40,0x25,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vpternlogq zmm30, zmm29, zword [rdx-0x2040], 123     ', [0x62,0x63,0x95,0x40,0x25,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vptestmd k5, zmm30, zmm29                   ', [0x62,0x92,0x0d,0x40,0x27,0xed                         ], 'MODE64');
TEST('vptestmd k5, zmm30, zword [rcx]             ', [0x62,0xf2,0x0d,0x40,0x27,0x29                         ], 'MODE64');
TEST('vptestmd k5, zmm30, zword [rax+r14*8+0x123] ', [0x62,0xb2,0x0d,0x40,0x27,0xac,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vptestmd k5, zmm30, dword [rcx]{1to16}      ', [0x62,0xf2,0x0d,0x50,0x27,0x29                         ], 'MODE64');
TEST('vptestmd k5, zmm30, zword [rdx+0x1fc0]      ', [0x62,0xf2,0x0d,0x40,0x27,0x6a,0x7f                    ], 'MODE64');
TEST('vptestmd k5, zmm30, zword [rdx+0x2000]      ', [0x62,0xf2,0x0d,0x40,0x27,0xaa,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vptestmd k5, zmm30, zword [rdx-0x2000]      ', [0x62,0xf2,0x0d,0x40,0x27,0x6a,0x80                    ], 'MODE64');
TEST('vptestmd k5, zmm30, zword [rdx-0x2040]      ', [0x62,0xf2,0x0d,0x40,0x27,0xaa,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vptestmd k5, zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0xf2,0x0d,0x50,0x27,0x6a,0x7f                    ], 'MODE64');
TEST('vptestmd k5, zmm30, dword [rdx+0x200]{1to16}', [0x62,0xf2,0x0d,0x50,0x27,0xaa,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vptestmd k5, zmm30, dword [rdx-0x200]{1to16}', [0x62,0xf2,0x0d,0x50,0x27,0x6a,0x80                    ], 'MODE64');
TEST('vptestmd k5, zmm30, dword [rdx-0x204]{1to16}', [0x62,0xf2,0x0d,0x50,0x27,0xaa,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vptestmq k5, zmm30, zmm29                  ', [0x62,0x92,0x8d,0x40,0x27,0xed                         ], 'MODE64');
TEST('vptestmq k5, zmm30, zword [rcx]            ', [0x62,0xf2,0x8d,0x40,0x27,0x29                         ], 'MODE64');
TEST('vptestmq k5, zmm30, zword [rax+r14*8+0x123]', [0x62,0xb2,0x8d,0x40,0x27,0xac,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vptestmq k5, zmm30, qword [rcx]{1to8}      ', [0x62,0xf2,0x8d,0x50,0x27,0x29                         ], 'MODE64');
TEST('vptestmq k5, zmm30, zword [rdx+0x1fc0]     ', [0x62,0xf2,0x8d,0x40,0x27,0x6a,0x7f                    ], 'MODE64');
TEST('vptestmq k5, zmm30, zword [rdx+0x2000]     ', [0x62,0xf2,0x8d,0x40,0x27,0xaa,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vptestmq k5, zmm30, zword [rdx-0x2000]     ', [0x62,0xf2,0x8d,0x40,0x27,0x6a,0x80                    ], 'MODE64');
TEST('vptestmq k5, zmm30, zword [rdx-0x2040]     ', [0x62,0xf2,0x8d,0x40,0x27,0xaa,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vptestmq k5, zmm30, qword [rdx+0x3f8]{1to8}', [0x62,0xf2,0x8d,0x50,0x27,0x6a,0x7f                    ], 'MODE64');
TEST('vptestmq k5, zmm30, qword [rdx+0x400]{1to8}', [0x62,0xf2,0x8d,0x50,0x27,0xaa,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vptestmq k5, zmm30, qword [rdx-0x400]{1to8}', [0x62,0xf2,0x8d,0x50,0x27,0x6a,0x80                    ], 'MODE64');
TEST('vptestmq k5, zmm30, qword [rdx-0x408]{1to8}', [0x62,0xf2,0x8d,0x50,0x27,0xaa,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vptestnmd k5, zmm29, zmm28                   ', [0x62,0x92,0x16,0x40,0x27,0xec                         ], 'MODE64');
TEST('vptestnmd k5, zmm29, zword [rcx]             ', [0x62,0xf2,0x16,0x40,0x27,0x29                         ], 'MODE64');
TEST('vptestnmd k5, zmm29, zword [rax+r14*8+0x123] ', [0x62,0xb2,0x16,0x40,0x27,0xac,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vptestnmd k5, zmm29, dword [rcx]{1to16}      ', [0x62,0xf2,0x16,0x50,0x27,0x29                         ], 'MODE64');
TEST('vptestnmd k5, zmm29, zword [rdx+0x1fc0]      ', [0x62,0xf2,0x16,0x40,0x27,0x6a,0x7f                    ], 'MODE64');
TEST('vptestnmd k5, zmm29, zword [rdx+0x2000]      ', [0x62,0xf2,0x16,0x40,0x27,0xaa,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vptestnmd k5, zmm29, zword [rdx-0x2000]      ', [0x62,0xf2,0x16,0x40,0x27,0x6a,0x80                    ], 'MODE64');
TEST('vptestnmd k5, zmm29, zword [rdx-0x2040]      ', [0x62,0xf2,0x16,0x40,0x27,0xaa,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vptestnmd k5, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0xf2,0x16,0x50,0x27,0x6a,0x7f                    ], 'MODE64');
TEST('vptestnmd k5, zmm29, dword [rdx+0x200]{1to16}', [0x62,0xf2,0x16,0x50,0x27,0xaa,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vptestnmd k5, zmm29, dword [rdx-0x200]{1to16}', [0x62,0xf2,0x16,0x50,0x27,0x6a,0x80                    ], 'MODE64');
TEST('vptestnmd k5, zmm29, dword [rdx-0x204]{1to16}', [0x62,0xf2,0x16,0x50,0x27,0xaa,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vptestnmq k5, zmm29, zmm28                  ', [0x62,0x92,0x96,0x40,0x27,0xec                         ], 'MODE64');
TEST('vptestnmq k5, zmm29, zword [rcx]            ', [0x62,0xf2,0x96,0x40,0x27,0x29                         ], 'MODE64');
TEST('vptestnmq k5, zmm29, zword [rax+r14*8+0x123]', [0x62,0xb2,0x96,0x40,0x27,0xac,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vptestnmq k5, zmm29, qword [rcx]{1to8}      ', [0x62,0xf2,0x96,0x50,0x27,0x29                         ], 'MODE64');
TEST('vptestnmq k5, zmm29, zword [rdx+0x1fc0]     ', [0x62,0xf2,0x96,0x40,0x27,0x6a,0x7f                    ], 'MODE64');
TEST('vptestnmq k5, zmm29, zword [rdx+0x2000]     ', [0x62,0xf2,0x96,0x40,0x27,0xaa,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vptestnmq k5, zmm29, zword [rdx-0x2000]     ', [0x62,0xf2,0x96,0x40,0x27,0x6a,0x80                    ], 'MODE64');
TEST('vptestnmq k5, zmm29, zword [rdx-0x2040]     ', [0x62,0xf2,0x96,0x40,0x27,0xaa,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vptestnmq k5, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0xf2,0x96,0x50,0x27,0x6a,0x7f                    ], 'MODE64');
TEST('vptestnmq k5, zmm29, qword [rdx+0x400]{1to8}', [0x62,0xf2,0x96,0x50,0x27,0xaa,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vptestnmq k5, zmm29, qword [rdx-0x400]{1to8}', [0x62,0xf2,0x96,0x50,0x27,0x6a,0x80                    ], 'MODE64');
TEST('vptestnmq k5, zmm29, qword [rdx-0x408]{1to8}', [0x62,0xf2,0x96,0x50,0x27,0xaa,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpunpckhdq zmm30, zmm29, zmm28                   ', [0x62,0x01,0x15,0x40,0x6a,0xf4                         ], 'MODE64');
TEST('vpunpckhdq zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x15,0x40,0x6a,0x31                         ], 'MODE64');
TEST('vpunpckhdq zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x15,0x40,0x6a,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpunpckhdq zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x15,0x50,0x6a,0x31                         ], 'MODE64');
TEST('vpunpckhdq zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x15,0x40,0x6a,0x72,0x7f                    ], 'MODE64');
TEST('vpunpckhdq zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x15,0x40,0x6a,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpunpckhdq zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x15,0x40,0x6a,0x72,0x80                    ], 'MODE64');
TEST('vpunpckhdq zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x15,0x40,0x6a,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpunpckhdq zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x15,0x50,0x6a,0x72,0x7f                    ], 'MODE64');
TEST('vpunpckhdq zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x15,0x50,0x6a,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpunpckhdq zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x15,0x50,0x6a,0x72,0x80                    ], 'MODE64');
TEST('vpunpckhdq zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x15,0x50,0x6a,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpunpckhqdq zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0x6d,0xf4                         ], 'MODE64');
TEST('vpunpckhqdq zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0x6d,0x31                         ], 'MODE64');
TEST('vpunpckhqdq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0x6d,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpunpckhqdq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0x6d,0x31                         ], 'MODE64');
TEST('vpunpckhqdq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0x6d,0x72,0x7f                    ], 'MODE64');
TEST('vpunpckhqdq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0x6d,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpunpckhqdq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0x6d,0x72,0x80                    ], 'MODE64');
TEST('vpunpckhqdq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0x6d,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpunpckhqdq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0x6d,0x72,0x7f                    ], 'MODE64');
TEST('vpunpckhqdq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0x6d,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpunpckhqdq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0x6d,0x72,0x80                    ], 'MODE64');
TEST('vpunpckhqdq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0x6d,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpunpckldq zmm30, zmm29, zmm28                   ', [0x62,0x01,0x15,0x40,0x62,0xf4                         ], 'MODE64');
TEST('vpunpckldq zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x15,0x40,0x62,0x31                         ], 'MODE64');
TEST('vpunpckldq zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x15,0x40,0x62,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpunpckldq zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x15,0x50,0x62,0x31                         ], 'MODE64');
TEST('vpunpckldq zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x15,0x40,0x62,0x72,0x7f                    ], 'MODE64');
TEST('vpunpckldq zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x15,0x40,0x62,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpunpckldq zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x15,0x40,0x62,0x72,0x80                    ], 'MODE64');
TEST('vpunpckldq zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x15,0x40,0x62,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpunpckldq zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x15,0x50,0x62,0x72,0x7f                    ], 'MODE64');
TEST('vpunpckldq zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x15,0x50,0x62,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpunpckldq zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x15,0x50,0x62,0x72,0x80                    ], 'MODE64');
TEST('vpunpckldq zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x15,0x50,0x62,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpunpcklqdq zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0x6c,0xf4                         ], 'MODE64');
TEST('vpunpcklqdq zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0x6c,0x31                         ], 'MODE64');
TEST('vpunpcklqdq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0x6c,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpunpcklqdq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0x6c,0x31                         ], 'MODE64');
TEST('vpunpcklqdq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0x6c,0x72,0x7f                    ], 'MODE64');
TEST('vpunpcklqdq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0x6c,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpunpcklqdq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0x6c,0x72,0x80                    ], 'MODE64');
TEST('vpunpcklqdq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0x6c,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpunpcklqdq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0x6c,0x72,0x7f                    ], 'MODE64');
TEST('vpunpcklqdq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0x6c,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpunpcklqdq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0x6c,0x72,0x80                    ], 'MODE64');
TEST('vpunpcklqdq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0x6c,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vpxord zmm30, zmm29, zmm28                   ', [0x62,0x01,0x15,0x40,0xef,0xf4                         ], 'MODE64');
TEST('vpxord zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x15,0x40,0xef,0x31                         ], 'MODE64');
TEST('vpxord zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x15,0x40,0xef,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpxord zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x15,0x50,0xef,0x31                         ], 'MODE64');
TEST('vpxord zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x15,0x40,0xef,0x72,0x7f                    ], 'MODE64');
TEST('vpxord zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x15,0x40,0xef,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpxord zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x15,0x40,0xef,0x72,0x80                    ], 'MODE64');
TEST('vpxord zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x15,0x40,0xef,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpxord zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x15,0x50,0xef,0x72,0x7f                    ], 'MODE64');
TEST('vpxord zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x15,0x50,0xef,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vpxord zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x15,0x50,0xef,0x72,0x80                    ], 'MODE64');
TEST('vpxord zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x15,0x50,0xef,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vpxorq zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0xef,0xf4                         ], 'MODE64');
TEST('vpxorq zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0xef,0x31                         ], 'MODE64');
TEST('vpxorq zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0xef,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vpxorq zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0xef,0x31                         ], 'MODE64');
TEST('vpxorq zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0xef,0x72,0x7f                    ], 'MODE64');
TEST('vpxorq zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0xef,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vpxorq zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0xef,0x72,0x80                    ], 'MODE64');
TEST('vpxorq zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0xef,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vpxorq zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0xef,0x72,0x7f                    ], 'MODE64');
TEST('vpxorq zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0xef,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vpxorq zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0xef,0x72,0x80                    ], 'MODE64');
TEST('vpxorq zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0xef,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vrcp14pd zmm30, zmm29                  ', [0x62,0x02,0xfd,0x48,0x4c,0xf5                         ], 'MODE64');
TEST('vrcp14pd zmm30, zword [rcx]            ', [0x62,0x62,0xfd,0x48,0x4c,0x31                         ], 'MODE64');
TEST('vrcp14pd zmm30, zword [rax+r14*8+0x123]', [0x62,0x22,0xfd,0x48,0x4c,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vrcp14pd zmm30, qword [rcx]{1to8}      ', [0x62,0x62,0xfd,0x58,0x4c,0x31                         ], 'MODE64');
TEST('vrcp14pd zmm30, zword [rdx+0x1fc0]     ', [0x62,0x62,0xfd,0x48,0x4c,0x72,0x7f                    ], 'MODE64');
TEST('vrcp14pd zmm30, zword [rdx+0x2000]     ', [0x62,0x62,0xfd,0x48,0x4c,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vrcp14pd zmm30, zword [rdx-0x2000]     ', [0x62,0x62,0xfd,0x48,0x4c,0x72,0x80                    ], 'MODE64');
TEST('vrcp14pd zmm30, zword [rdx-0x2040]     ', [0x62,0x62,0xfd,0x48,0x4c,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vrcp14pd zmm30, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0xfd,0x58,0x4c,0x72,0x7f                    ], 'MODE64');
TEST('vrcp14pd zmm30, qword [rdx+0x400]{1to8}', [0x62,0x62,0xfd,0x58,0x4c,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vrcp14pd zmm30, qword [rdx-0x400]{1to8}', [0x62,0x62,0xfd,0x58,0x4c,0x72,0x80                    ], 'MODE64');
TEST('vrcp14pd zmm30, qword [rdx-0x408]{1to8}', [0x62,0x62,0xfd,0x58,0x4c,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vrcp14ps zmm30, zmm29                   ', [0x62,0x02,0x7d,0x48,0x4c,0xf5                         ], 'MODE64');
TEST('vrcp14ps zmm30, zword [rcx]             ', [0x62,0x62,0x7d,0x48,0x4c,0x31                         ], 'MODE64');
TEST('vrcp14ps zmm30, zword [rax+r14*8+0x123] ', [0x62,0x22,0x7d,0x48,0x4c,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vrcp14ps zmm30, dword [rcx]{1to16}      ', [0x62,0x62,0x7d,0x58,0x4c,0x31                         ], 'MODE64');
TEST('vrcp14ps zmm30, zword [rdx+0x1fc0]      ', [0x62,0x62,0x7d,0x48,0x4c,0x72,0x7f                    ], 'MODE64');
TEST('vrcp14ps zmm30, zword [rdx+0x2000]      ', [0x62,0x62,0x7d,0x48,0x4c,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vrcp14ps zmm30, zword [rdx-0x2000]      ', [0x62,0x62,0x7d,0x48,0x4c,0x72,0x80                    ], 'MODE64');
TEST('vrcp14ps zmm30, zword [rdx-0x2040]      ', [0x62,0x62,0x7d,0x48,0x4c,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vrcp14ps zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x7d,0x58,0x4c,0x72,0x7f                    ], 'MODE64');
TEST('vrcp14ps zmm30, dword [rdx+0x200]{1to16}', [0x62,0x62,0x7d,0x58,0x4c,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vrcp14ps zmm30, dword [rdx-0x200]{1to16}', [0x62,0x62,0x7d,0x58,0x4c,0x72,0x80                    ], 'MODE64');
TEST('vrcp14ps zmm30, dword [rdx-0x204]{1to16}', [0x62,0x62,0x7d,0x58,0x4c,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vrndscalepd zmm30, zmm29, 171                  ', [0x62,0x03,0xfd,0x48,0x09,0xf5,0xab                         ], 'MODE64');
TEST('vrndscalepd zmm30, zmm29, 123                  ', [0x62,0x03,0xfd,0x48,0x09,0xf5,0x7b                         ], 'MODE64');
TEST('vrndscalepd zmm30, zword [rcx], 123            ', [0x62,0x63,0xfd,0x48,0x09,0x31,0x7b                         ], 'MODE64');
TEST('vrndscalepd zmm30, zword [rax+r14*8+0x123], 123', [0x62,0x23,0xfd,0x48,0x09,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vrndscalepd zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0xfd,0x48,0x09,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vrndscalepd zmm30, zword [rdx+0x2000], 123     ', [0x62,0x63,0xfd,0x48,0x09,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vrndscalepd zmm30, zword [rdx-0x2000], 123     ', [0x62,0x63,0xfd,0x48,0x09,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vrndscalepd zmm30, zword [rdx-0x2040], 123     ', [0x62,0x63,0xfd,0x48,0x09,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vrndscaleps zmm30, zmm29, 171                  ', [0x62,0x03,0x7d,0x48,0x08,0xf5,0xab                         ], 'MODE64');
TEST('vrndscaleps zmm30, zmm29, 123                  ', [0x62,0x03,0x7d,0x48,0x08,0xf5,0x7b                         ], 'MODE64');
TEST('vrndscaleps zmm30, zword [rcx], 123            ', [0x62,0x63,0x7d,0x48,0x08,0x31,0x7b                         ], 'MODE64');
TEST('vrndscaleps zmm30, zword [rax+r14*8+0x123], 123', [0x62,0x23,0x7d,0x48,0x08,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vrndscaleps zmm30, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0x7d,0x48,0x08,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vrndscaleps zmm30, zword [rdx+0x2000], 123     ', [0x62,0x63,0x7d,0x48,0x08,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vrndscaleps zmm30, zword [rdx-0x2000], 123     ', [0x62,0x63,0x7d,0x48,0x08,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vrndscaleps zmm30, zword [rdx-0x2040], 123     ', [0x62,0x63,0x7d,0x48,0x08,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vrsqrt14pd zmm30, zmm29                  ', [0x62,0x02,0xfd,0x48,0x4e,0xf5                         ], 'MODE64');
TEST('vrsqrt14pd zmm30, zword [rcx]            ', [0x62,0x62,0xfd,0x48,0x4e,0x31                         ], 'MODE64');
TEST('vrsqrt14pd zmm30, zword [rax+r14*8+0x123]', [0x62,0x22,0xfd,0x48,0x4e,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vrsqrt14pd zmm30, qword [rcx]{1to8}      ', [0x62,0x62,0xfd,0x58,0x4e,0x31                         ], 'MODE64');
TEST('vrsqrt14pd zmm30, zword [rdx+0x1fc0]     ', [0x62,0x62,0xfd,0x48,0x4e,0x72,0x7f                    ], 'MODE64');
TEST('vrsqrt14pd zmm30, zword [rdx+0x2000]     ', [0x62,0x62,0xfd,0x48,0x4e,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vrsqrt14pd zmm30, zword [rdx-0x2000]     ', [0x62,0x62,0xfd,0x48,0x4e,0x72,0x80                    ], 'MODE64');
TEST('vrsqrt14pd zmm30, zword [rdx-0x2040]     ', [0x62,0x62,0xfd,0x48,0x4e,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vrsqrt14pd zmm30, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0xfd,0x58,0x4e,0x72,0x7f                    ], 'MODE64');
TEST('vrsqrt14pd zmm30, qword [rdx+0x400]{1to8}', [0x62,0x62,0xfd,0x58,0x4e,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vrsqrt14pd zmm30, qword [rdx-0x400]{1to8}', [0x62,0x62,0xfd,0x58,0x4e,0x72,0x80                    ], 'MODE64');
TEST('vrsqrt14pd zmm30, qword [rdx-0x408]{1to8}', [0x62,0x62,0xfd,0x58,0x4e,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vrsqrt14ps zmm30, zmm29                   ', [0x62,0x02,0x7d,0x48,0x4e,0xf5                         ], 'MODE64');
TEST('vrsqrt14ps zmm30, zword [rcx]             ', [0x62,0x62,0x7d,0x48,0x4e,0x31                         ], 'MODE64');
TEST('vrsqrt14ps zmm30, zword [rax+r14*8+0x123] ', [0x62,0x22,0x7d,0x48,0x4e,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vrsqrt14ps zmm30, dword [rcx]{1to16}      ', [0x62,0x62,0x7d,0x58,0x4e,0x31                         ], 'MODE64');
TEST('vrsqrt14ps zmm30, zword [rdx+0x1fc0]      ', [0x62,0x62,0x7d,0x48,0x4e,0x72,0x7f                    ], 'MODE64');
TEST('vrsqrt14ps zmm30, zword [rdx+0x2000]      ', [0x62,0x62,0x7d,0x48,0x4e,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vrsqrt14ps zmm30, zword [rdx-0x2000]      ', [0x62,0x62,0x7d,0x48,0x4e,0x72,0x80                    ], 'MODE64');
TEST('vrsqrt14ps zmm30, zword [rdx-0x2040]      ', [0x62,0x62,0x7d,0x48,0x4e,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vrsqrt14ps zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x7d,0x58,0x4e,0x72,0x7f                    ], 'MODE64');
TEST('vrsqrt14ps zmm30, dword [rdx+0x200]{1to16}', [0x62,0x62,0x7d,0x58,0x4e,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vrsqrt14ps zmm30, dword [rdx-0x200]{1to16}', [0x62,0x62,0x7d,0x58,0x4e,0x72,0x80                    ], 'MODE64');
TEST('vrsqrt14ps zmm30, dword [rdx-0x204]{1to16}', [0x62,0x62,0x7d,0x58,0x4e,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vscalefpd zmm30, zmm29, zmm28                  ', [0x62,0x02,0x95,0x40,0x2c,0xf4                         ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x02,0x95,0x10,0x2c,0xf4                         ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x02,0x95,0x50,0x2c,0xf4                         ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x02,0x95,0x30,0x2c,0xf4                         ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x02,0x95,0x70,0x2c,0xf4                         ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, zword [rcx]            ', [0x62,0x62,0x95,0x40,0x2c,0x31                         ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x22,0x95,0x40,0x2c,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vscalefpd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x62,0x95,0x50,0x2c,0x31                         ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x62,0x95,0x40,0x2c,0x72,0x7f                    ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x62,0x95,0x40,0x2c,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x62,0x95,0x40,0x2c,0x72,0x80                    ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x62,0x95,0x40,0x2c,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x62,0x95,0x50,0x2c,0x72,0x7f                    ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x62,0x95,0x50,0x2c,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x62,0x95,0x50,0x2c,0x72,0x80                    ], 'MODE64');
TEST('vscalefpd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x62,0x95,0x50,0x2c,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vscalefps zmm30, zmm29, zmm28                   ', [0x62,0x02,0x15,0x40,0x2c,0xf4                         ], 'MODE64');
TEST('vscalefps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x02,0x15,0x10,0x2c,0xf4                         ], 'MODE64');
TEST('vscalefps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x02,0x15,0x50,0x2c,0xf4                         ], 'MODE64');
TEST('vscalefps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x02,0x15,0x30,0x2c,0xf4                         ], 'MODE64');
TEST('vscalefps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x02,0x15,0x70,0x2c,0xf4                         ], 'MODE64');
TEST('vscalefps zmm30, zmm29, zword [rcx]             ', [0x62,0x62,0x15,0x40,0x2c,0x31                         ], 'MODE64');
TEST('vscalefps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x22,0x15,0x40,0x2c,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vscalefps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x62,0x15,0x50,0x2c,0x31                         ], 'MODE64');
TEST('vscalefps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x62,0x15,0x40,0x2c,0x72,0x7f                    ], 'MODE64');
TEST('vscalefps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x62,0x15,0x40,0x2c,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vscalefps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x62,0x15,0x40,0x2c,0x72,0x80                    ], 'MODE64');
TEST('vscalefps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x62,0x15,0x40,0x2c,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vscalefps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x62,0x15,0x50,0x2c,0x72,0x7f                    ], 'MODE64');
TEST('vscalefps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x62,0x15,0x50,0x2c,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vscalefps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x62,0x15,0x50,0x2c,0x72,0x80                    ], 'MODE64');
TEST('vscalefps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x62,0x15,0x50,0x2c,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vshuff32x4 zmm30, zmm29, zmm28, 171                  ', [0x62,0x03,0x15,0x40,0x23,0xf4,0xab                         ], 'MODE64');
TEST('vshuff32x4 zmm30, zmm29, zmm28, 123                  ', [0x62,0x03,0x15,0x40,0x23,0xf4,0x7b                         ], 'MODE64');
TEST('vshuff32x4 zmm30, zmm29, zword [rcx], 123            ', [0x62,0x63,0x15,0x40,0x23,0x31,0x7b                         ], 'MODE64');
TEST('vshuff32x4 zmm30, zmm29, zword [rax+r14*8+0x123], 123', [0x62,0x23,0x15,0x40,0x23,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vshuff32x4 zmm30, zmm29, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0x15,0x40,0x23,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vshuff32x4 zmm30, zmm29, zword [rdx+0x2000], 123     ', [0x62,0x63,0x15,0x40,0x23,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vshuff32x4 zmm30, zmm29, zword [rdx-0x2000], 123     ', [0x62,0x63,0x15,0x40,0x23,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vshuff32x4 zmm30, zmm29, zword [rdx-0x2040], 123     ', [0x62,0x63,0x15,0x40,0x23,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vshuff64x2 zmm30, zmm29, zmm28, 171                  ', [0x62,0x03,0x95,0x40,0x23,0xf4,0xab                         ], 'MODE64');
TEST('vshuff64x2 zmm30, zmm29, zmm28, 123                  ', [0x62,0x03,0x95,0x40,0x23,0xf4,0x7b                         ], 'MODE64');
TEST('vshuff64x2 zmm30, zmm29, zword [rcx], 123            ', [0x62,0x63,0x95,0x40,0x23,0x31,0x7b                         ], 'MODE64');
TEST('vshuff64x2 zmm30, zmm29, zword [rax+r14*8+0x123], 123', [0x62,0x23,0x95,0x40,0x23,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vshuff64x2 zmm30, zmm29, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0x95,0x40,0x23,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vshuff64x2 zmm30, zmm29, zword [rdx+0x2000], 123     ', [0x62,0x63,0x95,0x40,0x23,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vshuff64x2 zmm30, zmm29, zword [rdx-0x2000], 123     ', [0x62,0x63,0x95,0x40,0x23,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vshuff64x2 zmm30, zmm29, zword [rdx-0x2040], 123     ', [0x62,0x63,0x95,0x40,0x23,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vshufi32x4 zmm30, zmm29, zmm28, 171                  ', [0x62,0x03,0x15,0x40,0x43,0xf4,0xab                         ], 'MODE64');
TEST('vshufi32x4 zmm30, zmm29, zmm28, 123                  ', [0x62,0x03,0x15,0x40,0x43,0xf4,0x7b                         ], 'MODE64');
TEST('vshufi32x4 zmm30, zmm29, zword [rcx], 123            ', [0x62,0x63,0x15,0x40,0x43,0x31,0x7b                         ], 'MODE64');
TEST('vshufi32x4 zmm30, zmm29, zword [rax+r14*8+0x123], 123', [0x62,0x23,0x15,0x40,0x43,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vshufi32x4 zmm30, zmm29, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0x15,0x40,0x43,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vshufi32x4 zmm30, zmm29, zword [rdx+0x2000], 123     ', [0x62,0x63,0x15,0x40,0x43,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vshufi32x4 zmm30, zmm29, zword [rdx-0x2000], 123     ', [0x62,0x63,0x15,0x40,0x43,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vshufi32x4 zmm30, zmm29, zword [rdx-0x2040], 123     ', [0x62,0x63,0x15,0x40,0x43,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vshufi64x2 zmm30, zmm29, zmm28, 171                  ', [0x62,0x03,0x95,0x40,0x43,0xf4,0xab                         ], 'MODE64');
TEST('vshufi64x2 zmm30, zmm29, zmm28, 123                  ', [0x62,0x03,0x95,0x40,0x43,0xf4,0x7b                         ], 'MODE64');
TEST('vshufi64x2 zmm30, zmm29, zword [rcx], 123            ', [0x62,0x63,0x95,0x40,0x43,0x31,0x7b                         ], 'MODE64');
TEST('vshufi64x2 zmm30, zmm29, zword [rax+r14*8+0x123], 123', [0x62,0x23,0x95,0x40,0x43,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vshufi64x2 zmm30, zmm29, zword [rdx+0x1fc0], 123     ', [0x62,0x63,0x95,0x40,0x43,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vshufi64x2 zmm30, zmm29, zword [rdx+0x2000], 123     ', [0x62,0x63,0x95,0x40,0x43,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vshufi64x2 zmm30, zmm29, zword [rdx-0x2000], 123     ', [0x62,0x63,0x95,0x40,0x43,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vshufi64x2 zmm30, zmm29, zword [rdx-0x2040], 123     ', [0x62,0x63,0x95,0x40,0x43,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vshufpd zmm30, zmm29, zmm28, 171                  ', [0x62,0x01,0x95,0x40,0xc6,0xf4,0xab                         ], 'MODE64');
TEST('vshufpd zmm30, zmm29, zmm28, 123                  ', [0x62,0x01,0x95,0x40,0xc6,0xf4,0x7b                         ], 'MODE64');
TEST('vshufpd zmm30, zmm29, zword [rcx], 123            ', [0x62,0x61,0x95,0x40,0xc6,0x31,0x7b                         ], 'MODE64');
TEST('vshufpd zmm30, zmm29, zword [rax+r14*8+0x123], 123', [0x62,0x21,0x95,0x40,0xc6,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vshufpd zmm30, zmm29, zword [rdx+0x1fc0], 123     ', [0x62,0x61,0x95,0x40,0xc6,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vshufpd zmm30, zmm29, zword [rdx+0x2000], 123     ', [0x62,0x61,0x95,0x40,0xc6,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vshufpd zmm30, zmm29, zword [rdx-0x2000], 123     ', [0x62,0x61,0x95,0x40,0xc6,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vshufpd zmm30, zmm29, zword [rdx-0x2040], 123     ', [0x62,0x61,0x95,0x40,0xc6,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vshufps zmm30, zmm29, zmm28, 171                  ', [0x62,0x01,0x14,0x40,0xc6,0xf4,0xab                         ], 'MODE64');
TEST('vshufps zmm30, zmm29, zmm28, 123                  ', [0x62,0x01,0x14,0x40,0xc6,0xf4,0x7b                         ], 'MODE64');
TEST('vshufps zmm30, zmm29, zword [rcx], 123            ', [0x62,0x61,0x14,0x40,0xc6,0x31,0x7b                         ], 'MODE64');
TEST('vshufps zmm30, zmm29, zword [rax+r14*8+0x123], 123', [0x62,0x21,0x14,0x40,0xc6,0xb4,0xf0,0x23,0x01,0x00,0x00,0x7b], 'MODE64');
TEST('vshufps zmm30, zmm29, zword [rdx+0x1fc0], 123     ', [0x62,0x61,0x14,0x40,0xc6,0x72,0x7f,0x7b                    ], 'MODE64');
TEST('vshufps zmm30, zmm29, zword [rdx+0x2000], 123     ', [0x62,0x61,0x14,0x40,0xc6,0xb2,0x00,0x20,0x00,0x00,0x7b     ], 'MODE64');
TEST('vshufps zmm30, zmm29, zword [rdx-0x2000], 123     ', [0x62,0x61,0x14,0x40,0xc6,0x72,0x80,0x7b                    ], 'MODE64');
TEST('vshufps zmm30, zmm29, zword [rdx-0x2040], 123     ', [0x62,0x61,0x14,0x40,0xc6,0xb2,0xc0,0xdf,0xff,0xff,0x7b     ], 'MODE64');

TEST('vsqrtpd zmm30, zmm29                  ', [0x62,0x01,0xfd,0x48,0x51,0xf5                         ], 'MODE64');
TEST('vsqrtpd zmm30, zmm29, {rn-sae}        ', [0x62,0x01,0xfd,0x18,0x51,0xf5                         ], 'MODE64');
TEST('vsqrtpd zmm30, zmm29, {ru-sae}        ', [0x62,0x01,0xfd,0x58,0x51,0xf5                         ], 'MODE64');
TEST('vsqrtpd zmm30, zmm29, {rd-sae}        ', [0x62,0x01,0xfd,0x38,0x51,0xf5                         ], 'MODE64');
TEST('vsqrtpd zmm30, zmm29, {rz-sae}        ', [0x62,0x01,0xfd,0x78,0x51,0xf5                         ], 'MODE64');
TEST('vsqrtpd zmm30, zword [rcx]            ', [0x62,0x61,0xfd,0x48,0x51,0x31                         ], 'MODE64');
TEST('vsqrtpd zmm30, zword [rax+r14*8+0x123]', [0x62,0x21,0xfd,0x48,0x51,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vsqrtpd zmm30, qword [rcx]{1to8}      ', [0x62,0x61,0xfd,0x58,0x51,0x31                         ], 'MODE64');
TEST('vsqrtpd zmm30, zword [rdx+0x1fc0]     ', [0x62,0x61,0xfd,0x48,0x51,0x72,0x7f                    ], 'MODE64');
TEST('vsqrtpd zmm30, zword [rdx+0x2000]     ', [0x62,0x61,0xfd,0x48,0x51,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vsqrtpd zmm30, zword [rdx-0x2000]     ', [0x62,0x61,0xfd,0x48,0x51,0x72,0x80                    ], 'MODE64');
TEST('vsqrtpd zmm30, zword [rdx-0x2040]     ', [0x62,0x61,0xfd,0x48,0x51,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vsqrtpd zmm30, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0xfd,0x58,0x51,0x72,0x7f                    ], 'MODE64');
TEST('vsqrtpd zmm30, qword [rdx+0x400]{1to8}', [0x62,0x61,0xfd,0x58,0x51,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vsqrtpd zmm30, qword [rdx-0x400]{1to8}', [0x62,0x61,0xfd,0x58,0x51,0x72,0x80                    ], 'MODE64');
TEST('vsqrtpd zmm30, qword [rdx-0x408]{1to8}', [0x62,0x61,0xfd,0x58,0x51,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vsqrtps zmm30, zmm29                   ', [0x62,0x01,0x7c,0x48,0x51,0xf5                         ], 'MODE64');
TEST('vsqrtps zmm30, zmm29, {rn-sae}         ', [0x62,0x01,0x7c,0x18,0x51,0xf5                         ], 'MODE64');
TEST('vsqrtps zmm30, zmm29, {ru-sae}         ', [0x62,0x01,0x7c,0x58,0x51,0xf5                         ], 'MODE64');
TEST('vsqrtps zmm30, zmm29, {rd-sae}         ', [0x62,0x01,0x7c,0x38,0x51,0xf5                         ], 'MODE64');
TEST('vsqrtps zmm30, zmm29, {rz-sae}         ', [0x62,0x01,0x7c,0x78,0x51,0xf5                         ], 'MODE64');
TEST('vsqrtps zmm30, zword [rcx]             ', [0x62,0x61,0x7c,0x48,0x51,0x31                         ], 'MODE64');
TEST('vsqrtps zmm30, zword [rax+r14*8+0x123] ', [0x62,0x21,0x7c,0x48,0x51,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vsqrtps zmm30, dword [rcx]{1to16}      ', [0x62,0x61,0x7c,0x58,0x51,0x31                         ], 'MODE64');
TEST('vsqrtps zmm30, zword [rdx+0x1fc0]      ', [0x62,0x61,0x7c,0x48,0x51,0x72,0x7f                    ], 'MODE64');
TEST('vsqrtps zmm30, zword [rdx+0x2000]      ', [0x62,0x61,0x7c,0x48,0x51,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vsqrtps zmm30, zword [rdx-0x2000]      ', [0x62,0x61,0x7c,0x48,0x51,0x72,0x80                    ], 'MODE64');
TEST('vsqrtps zmm30, zword [rdx-0x2040]      ', [0x62,0x61,0x7c,0x48,0x51,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vsqrtps zmm30, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x7c,0x58,0x51,0x72,0x7f                    ], 'MODE64');
TEST('vsqrtps zmm30, dword [rdx+0x200]{1to16}', [0x62,0x61,0x7c,0x58,0x51,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vsqrtps zmm30, dword [rdx-0x200]{1to16}', [0x62,0x61,0x7c,0x58,0x51,0x72,0x80                    ], 'MODE64');
TEST('vsqrtps zmm30, dword [rdx-0x204]{1to16}', [0x62,0x61,0x7c,0x58,0x51,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vsubpd zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0x5c,0xf4                         ], 'MODE64');
TEST('vsubpd zmm30, zmm29, zmm28, {rn-sae}        ', [0x62,0x01,0x95,0x10,0x5c,0xf4                         ], 'MODE64');
TEST('vsubpd zmm30, zmm29, zmm28, {ru-sae}        ', [0x62,0x01,0x95,0x50,0x5c,0xf4                         ], 'MODE64');
TEST('vsubpd zmm30, zmm29, zmm28, {rd-sae}        ', [0x62,0x01,0x95,0x30,0x5c,0xf4                         ], 'MODE64');
TEST('vsubpd zmm30, zmm29, zmm28, {rz-sae}        ', [0x62,0x01,0x95,0x70,0x5c,0xf4                         ], 'MODE64');
TEST('vsubpd zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0x5c,0x31                         ], 'MODE64');
TEST('vsubpd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0x5c,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vsubpd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0x5c,0x31                         ], 'MODE64');
TEST('vsubpd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0x5c,0x72,0x7f                    ], 'MODE64');
TEST('vsubpd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0x5c,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vsubpd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0x5c,0x72,0x80                    ], 'MODE64');
TEST('vsubpd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0x5c,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vsubpd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0x5c,0x72,0x7f                    ], 'MODE64');
TEST('vsubpd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0x5c,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vsubpd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0x5c,0x72,0x80                    ], 'MODE64');
TEST('vsubpd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0x5c,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vsubps zmm30, zmm29, zmm28                   ', [0x62,0x01,0x14,0x40,0x5c,0xf4                         ], 'MODE64');
TEST('vsubps zmm30, zmm29, zmm28, {rn-sae}         ', [0x62,0x01,0x14,0x10,0x5c,0xf4                         ], 'MODE64');
TEST('vsubps zmm30, zmm29, zmm28, {ru-sae}         ', [0x62,0x01,0x14,0x50,0x5c,0xf4                         ], 'MODE64');
TEST('vsubps zmm30, zmm29, zmm28, {rd-sae}         ', [0x62,0x01,0x14,0x30,0x5c,0xf4                         ], 'MODE64');
TEST('vsubps zmm30, zmm29, zmm28, {rz-sae}         ', [0x62,0x01,0x14,0x70,0x5c,0xf4                         ], 'MODE64');
TEST('vsubps zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x14,0x40,0x5c,0x31                         ], 'MODE64');
TEST('vsubps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x14,0x40,0x5c,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vsubps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x14,0x50,0x5c,0x31                         ], 'MODE64');
TEST('vsubps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x14,0x40,0x5c,0x72,0x7f                    ], 'MODE64');
TEST('vsubps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x14,0x40,0x5c,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vsubps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x14,0x40,0x5c,0x72,0x80                    ], 'MODE64');
TEST('vsubps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x14,0x40,0x5c,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vsubps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x14,0x50,0x5c,0x72,0x7f                    ], 'MODE64');
TEST('vsubps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x14,0x50,0x5c,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vsubps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x14,0x50,0x5c,0x72,0x80                    ], 'MODE64');
TEST('vsubps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x14,0x50,0x5c,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vunpckhpd zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0x15,0xf4                         ], 'MODE64');
TEST('vunpckhpd zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0x15,0x31                         ], 'MODE64');
TEST('vunpckhpd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0x15,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vunpckhpd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0x15,0x31                         ], 'MODE64');
TEST('vunpckhpd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0x15,0x72,0x7f                    ], 'MODE64');
TEST('vunpckhpd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0x15,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vunpckhpd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0x15,0x72,0x80                    ], 'MODE64');
TEST('vunpckhpd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0x15,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vunpckhpd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0x15,0x72,0x7f                    ], 'MODE64');
TEST('vunpckhpd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0x15,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vunpckhpd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0x15,0x72,0x80                    ], 'MODE64');
TEST('vunpckhpd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0x15,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vunpckhps zmm30, zmm29, zmm28                   ', [0x62,0x01,0x14,0x40,0x15,0xf4                         ], 'MODE64');
TEST('vunpckhps zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x14,0x40,0x15,0x31                         ], 'MODE64');
TEST('vunpckhps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x14,0x40,0x15,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vunpckhps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x14,0x50,0x15,0x31                         ], 'MODE64');
TEST('vunpckhps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x14,0x40,0x15,0x72,0x7f                    ], 'MODE64');
TEST('vunpckhps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x14,0x40,0x15,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vunpckhps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x14,0x40,0x15,0x72,0x80                    ], 'MODE64');
TEST('vunpckhps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x14,0x40,0x15,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vunpckhps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x14,0x50,0x15,0x72,0x7f                    ], 'MODE64');
TEST('vunpckhps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x14,0x50,0x15,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vunpckhps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x14,0x50,0x15,0x72,0x80                    ], 'MODE64');
TEST('vunpckhps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x14,0x50,0x15,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

TEST('vunpcklpd zmm30, zmm29, zmm28                  ', [0x62,0x01,0x95,0x40,0x14,0xf4                         ], 'MODE64');
TEST('vunpcklpd zmm30, zmm29, zword [rcx]            ', [0x62,0x61,0x95,0x40,0x14,0x31                         ], 'MODE64');
TEST('vunpcklpd zmm30, zmm29, zword [rax+r14*8+0x123]', [0x62,0x21,0x95,0x40,0x14,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vunpcklpd zmm30, zmm29, qword [rcx]{1to8}      ', [0x62,0x61,0x95,0x50,0x14,0x31                         ], 'MODE64');
TEST('vunpcklpd zmm30, zmm29, zword [rdx+0x1fc0]     ', [0x62,0x61,0x95,0x40,0x14,0x72,0x7f                    ], 'MODE64');
TEST('vunpcklpd zmm30, zmm29, zword [rdx+0x2000]     ', [0x62,0x61,0x95,0x40,0x14,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vunpcklpd zmm30, zmm29, zword [rdx-0x2000]     ', [0x62,0x61,0x95,0x40,0x14,0x72,0x80                    ], 'MODE64');
TEST('vunpcklpd zmm30, zmm29, zword [rdx-0x2040]     ', [0x62,0x61,0x95,0x40,0x14,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vunpcklpd zmm30, zmm29, qword [rdx+0x3f8]{1to8}', [0x62,0x61,0x95,0x50,0x14,0x72,0x7f                    ], 'MODE64');
TEST('vunpcklpd zmm30, zmm29, qword [rdx+0x400]{1to8}', [0x62,0x61,0x95,0x50,0x14,0xb2,0x00,0x04,0x00,0x00     ], 'MODE64');
TEST('vunpcklpd zmm30, zmm29, qword [rdx-0x400]{1to8}', [0x62,0x61,0x95,0x50,0x14,0x72,0x80                    ], 'MODE64');
TEST('vunpcklpd zmm30, zmm29, qword [rdx-0x408]{1to8}', [0x62,0x61,0x95,0x50,0x14,0xb2,0xf8,0xfb,0xff,0xff     ], 'MODE64');

TEST('vunpcklps zmm30, zmm29, zmm28                   ', [0x62,0x01,0x14,0x40,0x14,0xf4                         ], 'MODE64');
TEST('vunpcklps zmm30, zmm29, zword [rcx]             ', [0x62,0x61,0x14,0x40,0x14,0x31                         ], 'MODE64');
TEST('vunpcklps zmm30, zmm29, zword [rax+r14*8+0x123] ', [0x62,0x21,0x14,0x40,0x14,0xb4,0xf0,0x23,0x01,0x00,0x00], 'MODE64');
TEST('vunpcklps zmm30, zmm29, dword [rcx]{1to16}      ', [0x62,0x61,0x14,0x50,0x14,0x31                         ], 'MODE64');
TEST('vunpcklps zmm30, zmm29, zword [rdx+0x1fc0]      ', [0x62,0x61,0x14,0x40,0x14,0x72,0x7f                    ], 'MODE64');
TEST('vunpcklps zmm30, zmm29, zword [rdx+0x2000]      ', [0x62,0x61,0x14,0x40,0x14,0xb2,0x00,0x20,0x00,0x00     ], 'MODE64');
TEST('vunpcklps zmm30, zmm29, zword [rdx-0x2000]      ', [0x62,0x61,0x14,0x40,0x14,0x72,0x80                    ], 'MODE64');
TEST('vunpcklps zmm30, zmm29, zword [rdx-0x2040]      ', [0x62,0x61,0x14,0x40,0x14,0xb2,0xc0,0xdf,0xff,0xff     ], 'MODE64');
TEST('vunpcklps zmm30, zmm29, dword [rdx+0x1fc]{1to16}', [0x62,0x61,0x14,0x50,0x14,0x72,0x7f                    ], 'MODE64');
TEST('vunpcklps zmm30, zmm29, dword [rdx+0x200]{1to16}', [0x62,0x61,0x14,0x50,0x14,0xb2,0x00,0x02,0x00,0x00     ], 'MODE64');
TEST('vunpcklps zmm30, zmm29, dword [rdx-0x200]{1to16}', [0x62,0x61,0x14,0x50,0x14,0x72,0x80                    ], 'MODE64');
TEST('vunpcklps zmm30, zmm29, dword [rdx-0x204]{1to16}', [0x62,0x61,0x14,0x50,0x14,0xb2,0xfc,0xfd,0xff,0xff     ], 'MODE64');

